|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ExpectedCondition | |
|---|---|
| org.openqa.selenium.support.ui | |
| Uses of ExpectedCondition in org.openqa.selenium.support.ui |
|---|
| Methods in org.openqa.selenium.support.ui that return ExpectedCondition | ||
|---|---|---|
static ExpectedCondition<Alert> |
ExpectedConditions.alertIsPresent()
|
|
static ExpectedCondition<Boolean> |
ExpectedConditions.elementSelectionStateToBe(By locator,
boolean selected)
|
|
static ExpectedCondition<Boolean> |
ExpectedConditions.elementSelectionStateToBe(WebElement element,
boolean selected)
An expectation for checking if the given element is selected. |
|
static ExpectedCondition<WebElement> |
ExpectedConditions.elementToBeClickable(By locator)
An expectation for checking an element is visible and enabled such that you can click it. |
|
static ExpectedCondition<Boolean> |
ExpectedConditions.elementToBeSelected(By locator)
|
|
static ExpectedCondition<Boolean> |
ExpectedConditions.elementToBeSelected(WebElement element)
An expectation for checking if the given element is selected. |
|
static ExpectedCondition<WebDriver> |
ExpectedConditions.frameToBeAvailableAndSwitchToIt(String frameLocator)
An expectation for checking whether the given frame is available to switch to. |
|
static ExpectedCondition<Boolean> |
ExpectedConditions.invisibilityOfElementLocated(By locator)
An expectation for checking that an element is either invisible or not present on the DOM. |
|
static ExpectedCondition<Boolean> |
ExpectedConditions.invisibilityOfElementWithText(By locator,
String text)
An expectation for checking that an element with text is either invisible or not present on the DOM. |
|
static ExpectedCondition<Boolean> |
ExpectedConditions.not(ExpectedCondition<?> condition)
An expectation with the logical opposite condition of the given condition. |
|
static ExpectedCondition<List<WebElement>> |
ExpectedConditions.presenceOfAllElementsLocatedBy(By locator)
An expectation for checking that there is at least one element present on a web page. |
|
static ExpectedCondition<WebElement> |
ExpectedConditions.presenceOfElementLocated(By locator)
An expectation for checking that an element is present on the DOM of a page. |
|
static
|
ExpectedConditions.refreshed(ExpectedCondition<T> condition)
Wrapper for a condition, which allows for elements to update by redrawing. |
|
static ExpectedCondition<Boolean> |
ExpectedConditions.stalenessOf(WebElement element)
Wait until an element is no longer attached to the DOM. |
|
static ExpectedCondition<Boolean> |
ExpectedConditions.textToBePresentInElement(By locator,
String text)
An expectation for checking if the given text is present in the specified element. |
|
static ExpectedCondition<Boolean> |
ExpectedConditions.textToBePresentInElementValue(By locator,
String text)
An expectation for checking if the given text is present in the specified elements value attribute. |
|
static ExpectedCondition<Boolean> |
ExpectedConditions.titleContains(String title)
An expectation for checking that the title contains a case-sensitive substring |
|
static ExpectedCondition<Boolean> |
ExpectedConditions.titleIs(String title)
An expectation for checking the title of a page. |
|
static ExpectedCondition<WebElement> |
ExpectedConditions.visibilityOf(WebElement element)
An expectation for checking that an element, known to be present on the DOM of a page, is visible. |
|
static ExpectedCondition<WebElement> |
ExpectedConditions.visibilityOfElementLocated(By locator)
An expectation for checking that an element is present on the DOM of a page and visible. |
|
| Methods in org.openqa.selenium.support.ui with parameters of type ExpectedCondition | ||
|---|---|---|
static ExpectedCondition<Boolean> |
ExpectedConditions.not(ExpectedCondition<?> condition)
An expectation with the logical opposite condition of the given condition. |
|
static
|
ExpectedConditions.refreshed(ExpectedCondition<T> condition)
Wrapper for a condition, which allows for elements to update by redrawing. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||