Class WaitForPageToLoad
- java.lang.Object
-
- com.thoughtworks.selenium.webdriven.SeleneseCommand<java.lang.Void>
-
- com.thoughtworks.selenium.webdriven.commands.WaitForPageToLoad
-
public class WaitForPageToLoad extends SeleneseCommand<java.lang.Void>
-
-
Constructor Summary
Constructors Constructor Description WaitForPageToLoad(java.lang.Runnable sleepUntil)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Wait
getLengthCheckingWait(org.openqa.selenium.WebDriver driver)
protected java.lang.Void
handleSeleneseCommand(org.openqa.selenium.WebDriver driver, java.lang.String timeout, java.lang.String ignored)
void
setTimeToWait(int timeToWait)
Overrides the default time to wait (in milliseconds) after a page has finished loading.-
Methods inherited from class com.thoughtworks.selenium.webdriven.SeleneseCommand
apply, setDefaultTimeout, toLong
-
-
-
-
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 java.lang.Void handleSeleneseCommand(org.openqa.selenium.WebDriver driver, java.lang.String timeout, java.lang.String ignored)
- Specified by:
handleSeleneseCommand
in classSeleneseCommand<java.lang.Void>
-
getLengthCheckingWait
public Wait getLengthCheckingWait(org.openqa.selenium.WebDriver driver)
-
-