com.opera.core.systems
Class OperaDriver.OperaTimeouts

java.lang.Object
  extended by com.opera.core.systems.OperaDriver.OperaTimeouts
All Implemented Interfaces:
org.openqa.selenium.WebDriver.Timeouts
Enclosing class:
OperaDriver

public static class OperaDriver.OperaTimeouts
extends Object
implements org.openqa.selenium.WebDriver.Timeouts


Constructor Summary
OperaDriver.OperaTimeouts()
           
 
Method Summary
 org.openqa.selenium.WebDriver.Timeouts implicitlyWait(long time, TimeUnit unit)
           
 org.openqa.selenium.WebDriver.Timeouts pageLoadTimeout(long time, TimeUnit unit)
          Sets the amount of time to wait for a page to finish loading before returning control of the browser to the user.
 org.openqa.selenium.WebDriver.Timeouts responseTimeout(long time, TimeUnit unit)
          Sets the amount of time to wait for a response from Opera/the Scope client before throwing an error.
 org.openqa.selenium.WebDriver.Timeouts setScriptTimeout(long time, TimeUnit unit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperaDriver.OperaTimeouts

public OperaDriver.OperaTimeouts()
Method Detail

implicitlyWait

public org.openqa.selenium.WebDriver.Timeouts implicitlyWait(long time,
                                                             TimeUnit unit)
Specified by:
implicitlyWait in interface org.openqa.selenium.WebDriver.Timeouts

setScriptTimeout

public org.openqa.selenium.WebDriver.Timeouts setScriptTimeout(long time,
                                                               TimeUnit unit)
Specified by:
setScriptTimeout in interface org.openqa.selenium.WebDriver.Timeouts

pageLoadTimeout

public org.openqa.selenium.WebDriver.Timeouts pageLoadTimeout(long time,
                                                              TimeUnit unit)
Sets the amount of time to wait for a page to finish loading before returning control of the browser to the user.

Specified by:
pageLoadTimeout in interface org.openqa.selenium.WebDriver.Timeouts
Parameters:
time - the amount of time to wait
unit - the unit of measure for time
Returns:
a self reference

responseTimeout

public org.openqa.selenium.WebDriver.Timeouts responseTimeout(long time,
                                                              TimeUnit unit)
Sets the amount of time to wait for a response from Opera/the Scope client before throwing an error.

Parameters:
time - the amount of time to wait
unit - the unit of measure for time
Returns:
a self reference


Copyright © 2012. All Rights Reserved.