public class TinafwExpectedConditions extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
TinafwExpectedConditions() |
| Modifier and Type | Method and Description |
|---|---|
static org.openqa.selenium.support.ui.ExpectedCondition<Boolean> |
currentUrlIsNotEmpty()
Expectation for checking that
WebDriver.getCurrentUrl() is not empty. |
static org.openqa.selenium.support.ui.ExpectedCondition<org.openqa.selenium.WebElement> |
visibilityOfOneOfElementsLocatedBy(org.openqa.selenium.By locator)
An expectation for checking that at least one of the elements matching the locator
is visible.
|
public static org.openqa.selenium.support.ui.ExpectedCondition<org.openqa.selenium.WebElement> visibilityOfOneOfElementsLocatedBy(org.openqa.selenium.By locator)
locator - used to find the elementspublic static org.openqa.selenium.support.ui.ExpectedCondition<Boolean> currentUrlIsNotEmpty()
WebDriver.getCurrentUrl() is not empty.true if WebDriver.getCurrentUrl() is not emptyCopyright © 2015. All rights reserved.