org.openqa.selenium.internal.seleniumemulation
Class WaitForPageToLoad

java.lang.Object
  extended by org.openqa.selenium.internal.seleniumemulation.SeleneseCommand<Void>
      extended by org.openqa.selenium.internal.seleniumemulation.WaitForPageToLoad

public class WaitForPageToLoad
extends SeleneseCommand<Void>


Constructor Summary
WaitForPageToLoad()
           
 
Method Summary
 Wait getLengthCheckingWait(org.openqa.selenium.WebDriver driver)
           
protected  Void handleSeleneseCommand(org.openqa.selenium.WebDriver driver, String timeout, String ignored)
           
 void setTimeToWait(int timeToWait)
          Overrides the default time to wait (in milliseconds) after a page has finished loading.
 
Methods inherited from class org.openqa.selenium.internal.seleniumemulation.SeleneseCommand
apply
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WaitForPageToLoad

public WaitForPageToLoad()
Method Detail

setTimeToWait

public void setTimeToWait(int timeToWait)
Overrides the default time to wait (in milliseconds) after a page has finished loading.

Parameters:
timeToWait - the time to wait, in milliseconds, after the page has finished loading

handleSeleneseCommand

protected Void handleSeleneseCommand(org.openqa.selenium.WebDriver driver,
                                     String timeout,
                                     String ignored)
Specified by:
handleSeleneseCommand in class SeleneseCommand<Void>

getLengthCheckingWait

public Wait getLengthCheckingWait(org.openqa.selenium.WebDriver driver)


Copyright © 2012. All Rights Reserved.