public class WaitingConditions extends Object
| Modifier and Type | Method and Description |
|---|---|
static Callable<org.openqa.selenium.Alert> |
alertToBePresent(org.openqa.selenium.WebDriver driver) |
static Callable<String> |
driverUrlToBe(org.openqa.selenium.WebDriver driver,
String expectedUrl) |
static Callable<org.openqa.selenium.Point> |
elementLocationToBe(org.openqa.selenium.WebElement element,
org.openqa.selenium.Point expectedLocation) |
static Callable<org.openqa.selenium.WebElement> |
elementSelectionToBe(org.openqa.selenium.WebElement element,
boolean selected) |
static Callable<String> |
elementTextToContain(org.openqa.selenium.WebElement element,
String value) |
static Callable<String> |
elementTextToEqual(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.By locator,
String value) |
static Callable<String> |
elementTextToEqual(org.openqa.selenium.WebElement element,
String value) |
static Callable<Boolean> |
elementToBeHidden(org.openqa.selenium.WebElement element) |
static Callable<org.openqa.selenium.WebElement> |
elementToExist(org.openqa.selenium.WebDriver driver,
String elementId) |
static Callable<String> |
elementValueToEqual(org.openqa.selenium.WebElement element,
String expectedValue) |
static Callable<String> |
pageSourceToContain(org.openqa.selenium.WebDriver driver,
String expectedText) |
static Callable<String> |
pageTitleToBe(org.openqa.selenium.WebDriver driver,
String expectedTitle) |
static Callable<String> |
trimmedElementTextToEqual(org.openqa.selenium.WebElement element,
String value) |
static Callable<Set<String>> |
windowHandleCountToBe(org.openqa.selenium.WebDriver driver,
int count) |
public static Callable<org.openqa.selenium.WebElement> elementToExist(org.openqa.selenium.WebDriver driver, String elementId)
public static Callable<String> elementTextToEqual(org.openqa.selenium.WebElement element, String value)
public static Callable<String> trimmedElementTextToEqual(org.openqa.selenium.WebElement element, String value)
public static Callable<String> elementTextToContain(org.openqa.selenium.WebElement element, String value)
public static Callable<String> elementTextToEqual(org.openqa.selenium.WebDriver driver, org.openqa.selenium.By locator, String value)
public static Callable<String> elementValueToEqual(org.openqa.selenium.WebElement element, String expectedValue)
public static Callable<Boolean> elementToBeHidden(org.openqa.selenium.WebElement element)
public static Callable<String> pageSourceToContain(org.openqa.selenium.WebDriver driver, String expectedText)
public static Callable<String> pageTitleToBe(org.openqa.selenium.WebDriver driver, String expectedTitle)
public static Callable<String> driverUrlToBe(org.openqa.selenium.WebDriver driver, String expectedUrl)
public static Callable<org.openqa.selenium.Point> elementLocationToBe(org.openqa.selenium.WebElement element, org.openqa.selenium.Point expectedLocation)
public static Callable<org.openqa.selenium.WebElement> elementSelectionToBe(org.openqa.selenium.WebElement element, boolean selected)
public static Callable<Set<String>> windowHandleCountToBe(org.openqa.selenium.WebDriver driver, int count)
public static Callable<org.openqa.selenium.Alert> alertToBePresent(org.openqa.selenium.WebDriver driver)
Copyright © 2015. All rights reserved.