public class TestdriverWait
extends org.openqa.selenium.support.ui.WebDriverWait
| Constructor and Description |
|---|
TestdriverWait(org.openqa.selenium.WebDriver driver,
long timeOutInSeconds)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
forElementNotStale(org.openqa.selenium.WebElement element)
Wait for an element to not be stale.
|
void |
forElementVisible(org.openqa.selenium.WebElement element)
Wait for an element to be visible.
|
void |
sleep(int timeInMillis)
Deprecated.
|
public TestdriverWait(org.openqa.selenium.WebDriver driver,
long timeOutInSeconds)
driver - the WebDriver instance to use.timeOutInSeconds - Maximum amount to wait.public void forElementVisible(org.openqa.selenium.WebElement element)
element - the element to wait for.public void forElementNotStale(org.openqa.selenium.WebElement element)
element - the element to wait for.@Deprecated public void sleep(int timeInMillis)
timeInMillis - the time to wait.Copyright © 2016. All rights reserved.