public class ElementLocators extends Object
| Constructor and Description |
|---|
ElementLocators() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
waitForCondition(Condition condition,
org.openqa.selenium.WebDriver webDriver) |
static org.openqa.selenium.WebElement |
waitForElement(org.openqa.selenium.By by,
long timeOutSeconds,
org.openqa.selenium.WebDriver webDriver)
Waits for a WebElement that can be found using the specified By to exist, or for a timeout to occur.
|
static org.openqa.selenium.WebElement |
waitForElement(org.openqa.selenium.By by,
org.openqa.selenium.WebDriver webDriver) |
public static org.openqa.selenium.WebElement waitForElement(org.openqa.selenium.By by,
org.openqa.selenium.WebDriver webDriver)
public static org.openqa.selenium.WebElement waitForElement(org.openqa.selenium.By by,
long timeOutSeconds,
org.openqa.selenium.WebDriver webDriver)
by - the bytimeOutSeconds - the time out secondswebDriver - the web driverpublic static boolean waitForCondition(Condition condition, org.openqa.selenium.WebDriver webDriver)
Copyright © 2016 Substeps. All rights reserved.