static ExpectedCondition<org.openqa.selenium.Alert> |
ExpectedConditions.alertIsPresent() |
|
static ExpectedCondition<java.lang.Boolean> |
ExpectedConditions.and(ExpectedCondition<?>... conditions) |
An expectation with the logical and condition of the given list of conditions.
|
static ExpectedCondition<java.lang.Boolean> |
ExpectedConditions.attributeContains(org.openqa.selenium.By locator,
java.lang.String attribute,
java.lang.String value) |
An expectation for checking WebElement with given locator has attribute which contains specific
value
|
static ExpectedCondition<java.lang.Boolean> |
ExpectedConditions.attributeContains(org.openqa.selenium.WebElement element,
java.lang.String attribute,
java.lang.String value) |
An expectation for checking WebElement with given locator has attribute which contains specific
value
|
static ExpectedCondition<java.lang.Boolean> |
ExpectedConditions.attributeToBe(org.openqa.selenium.By locator,
java.lang.String attribute,
java.lang.String value) |
An expectation for checking WebElement with given locator has attribute with a specific value
|
static ExpectedCondition<java.lang.Boolean> |
ExpectedConditions.attributeToBe(org.openqa.selenium.WebElement element,
java.lang.String attribute,
java.lang.String value) |
An expectation for checking given WebElement has attribute with a specific value
|
static ExpectedCondition<java.lang.Boolean> |
ExpectedConditions.attributeToBeNotEmpty(org.openqa.selenium.WebElement element,
java.lang.String attribute) |
An expectation for checking WebElement any non empty value for given attribute
|
static ExpectedCondition<java.lang.Boolean> |
ExpectedConditions.elementSelectionStateToBe(org.openqa.selenium.By locator,
boolean selected) |
|
static ExpectedCondition<java.lang.Boolean> |
ExpectedConditions.elementSelectionStateToBe(org.openqa.selenium.WebElement element,
boolean selected) |
An expectation for checking if the given element is selected.
|
static ExpectedCondition<org.openqa.selenium.WebElement> |
ExpectedConditions.elementToBeClickable(org.openqa.selenium.By locator) |
An expectation for checking an element is visible and enabled such that you can click it.
|
static ExpectedCondition<org.openqa.selenium.WebElement> |
ExpectedConditions.elementToBeClickable(org.openqa.selenium.WebElement element) |
An expectation for checking an element is visible and enabled such that you can click it.
|
static ExpectedCondition<java.lang.Boolean> |
ExpectedConditions.elementToBeSelected(org.openqa.selenium.By locator) |
|
static ExpectedCondition<java.lang.Boolean> |
ExpectedConditions.elementToBeSelected(org.openqa.selenium.WebElement element) |
An expectation for checking if the given element is selected.
|
static ExpectedCondition<org.openqa.selenium.WebDriver> |
ExpectedConditions.frameToBeAvailableAndSwitchToIt(int frameLocator) |
An expectation for checking whether the given frame is available to switch to.
|
static ExpectedCondition<org.openqa.selenium.WebDriver> |
ExpectedConditions.frameToBeAvailableAndSwitchToIt(java.lang.String frameLocator) |
An expectation for checking whether the given frame is available to switch to.
|
static ExpectedCondition<org.openqa.selenium.WebDriver> |
ExpectedConditions.frameToBeAvailableAndSwitchToIt(org.openqa.selenium.By locator) |
An expectation for checking whether the given frame is available to switch to.
|
static ExpectedCondition<org.openqa.selenium.WebDriver> |
ExpectedConditions.frameToBeAvailableAndSwitchToIt(org.openqa.selenium.WebElement frameLocator) |
An expectation for checking whether the given frame is available to switch to.
|
static ExpectedCondition<java.lang.Boolean> |
ExpectedConditions.invisibilityOf(org.openqa.selenium.WebElement element) |
An expectation for checking the element to be invisible
|
static ExpectedCondition<java.lang.Boolean> |
ExpectedConditions.invisibilityOfAllElements(java.util.List<org.openqa.selenium.WebElement> elements) |
An expectation for checking all elements from given list to be invisible
|
static ExpectedCondition<java.lang.Boolean> |
ExpectedConditions.invisibilityOfAllElements(org.openqa.selenium.WebElement... elements) |
An expectation for checking all elements from given list to be invisible
|
static ExpectedCondition<java.lang.Boolean> |
ExpectedConditions.invisibilityOfElementLocated(org.openqa.selenium.By locator) |
An expectation for checking that an element is either invisible or not present on the DOM.
|
static ExpectedCondition<java.lang.Boolean> |
ExpectedConditions.invisibilityOfElementWithText(org.openqa.selenium.By locator,
java.lang.String text) |
An expectation for checking that an element with text is either invisible or not present on the
DOM.
|
static ExpectedCondition<java.lang.Boolean> |
ExpectedConditions.javaScriptThrowsNoExceptions(java.lang.String javaScript) |
An expectation to check if js executable.
|
static ExpectedCondition<java.lang.Object> |
ExpectedConditions.jsReturnsValue(java.lang.String javaScript) |
An expectation for String value from javascript
|
static ExpectedCondition<java.lang.Boolean> |
ExpectedConditions.not(ExpectedCondition<?> condition) |
An expectation with the logical opposite condition of the given condition.
|
static ExpectedCondition<java.util.List<org.openqa.selenium.WebElement>> |
ExpectedConditions.numberOfElementsToBe(org.openqa.selenium.By locator,
java.lang.Integer number) |
An expectation for checking number of WebElements with given locator
|
static ExpectedCondition<java.util.List<org.openqa.selenium.WebElement>> |
ExpectedConditions.numberOfElementsToBeLessThan(org.openqa.selenium.By locator,
java.lang.Integer number) |
An expectation for checking number of WebElements with given locator being less than defined
number
|
static ExpectedCondition<java.util.List<org.openqa.selenium.WebElement>> |
ExpectedConditions.numberOfElementsToBeMoreThan(org.openqa.selenium.By locator,
java.lang.Integer number) |
An expectation for checking number of WebElements with given locator being more than defined number
|
static ExpectedCondition<java.lang.Boolean> |
ExpectedConditions.numberOfWindowsToBe(int expectedNumberOfWindows) |
|
static ExpectedCondition<java.lang.Boolean> |
ExpectedConditions.or(ExpectedCondition<?>... conditions) |
An expectation with the logical or condition of the given list of conditions.
|
static ExpectedCondition<java.util.List<org.openqa.selenium.WebElement>> |
ExpectedConditions.presenceOfAllElementsLocatedBy(org.openqa.selenium.By locator) |
An expectation for checking that there is at least one element present on a web page.
|
static ExpectedCondition<org.openqa.selenium.WebElement> |
ExpectedConditions.presenceOfElementLocated(org.openqa.selenium.By locator) |
An expectation for checking that an element is present on the DOM of a page.
|
static ExpectedCondition<org.openqa.selenium.WebElement> |
ExpectedConditions.presenceOfNestedElementLocatedBy(org.openqa.selenium.By locator,
org.openqa.selenium.By childLocator) |
An expectation for checking child WebElement as a part of parent element to present
|
static ExpectedCondition<org.openqa.selenium.WebElement> |
ExpectedConditions.presenceOfNestedElementLocatedBy(org.openqa.selenium.WebElement element,
org.openqa.selenium.By childLocator) |
An expectation for checking child WebElement as a part of parent element to be present
|
static ExpectedCondition<java.util.List<org.openqa.selenium.WebElement>> |
ExpectedConditions.presenceOfNestedElementsLocatedBy(org.openqa.selenium.By parent,
org.openqa.selenium.By childLocator) |
An expectation for checking child WebElement as a part of parent element to present
|
static <T> ExpectedCondition<T> |
ExpectedConditions.refreshed(ExpectedCondition<T> condition) |
Wrapper for a condition, which allows for elements to update by redrawing.
|
static ExpectedCondition<java.lang.Boolean> |
ExpectedConditions.stalenessOf(org.openqa.selenium.WebElement element) |
Wait until an element is no longer attached to the DOM.
|
static ExpectedCondition<java.lang.Boolean> |
ExpectedConditions.textMatches(org.openqa.selenium.By locator,
java.util.regex.Pattern pattern) |
An expectation for checking WebElement with given locator has text with a value as a part of
it
|
static ExpectedCondition<java.lang.Boolean> |
ExpectedConditions.textToBe(org.openqa.selenium.By locator,
java.lang.String value) |
An expectation for checking WebElement with given locator has specific text
|
static ExpectedCondition<java.lang.Boolean> |
ExpectedConditions.textToBePresentInElement(org.openqa.selenium.WebElement element,
java.lang.String text) |
An expectation for checking if the given text is present in the specified element.
|
static ExpectedCondition<java.lang.Boolean> |
ExpectedConditions.textToBePresentInElementLocated(org.openqa.selenium.By locator,
java.lang.String text) |
An expectation for checking if the given text is present in the element that matches the given
locator.
|
static ExpectedCondition<java.lang.Boolean> |
ExpectedConditions.textToBePresentInElementValue(org.openqa.selenium.By locator,
java.lang.String text) |
An expectation for checking if the given text is present in the specified elements value
attribute.
|
static ExpectedCondition<java.lang.Boolean> |
ExpectedConditions.textToBePresentInElementValue(org.openqa.selenium.WebElement element,
java.lang.String text) |
An expectation for checking if the given text is present in the specified elements value
attribute.
|
static ExpectedCondition<java.lang.Boolean> |
ExpectedConditions.titleContains(java.lang.String title) |
An expectation for checking that the title contains a case-sensitive substring
|
static ExpectedCondition<java.lang.Boolean> |
ExpectedConditions.titleIs(java.lang.String title) |
An expectation for checking the title of a page.
|
static ExpectedCondition<java.lang.Boolean> |
ExpectedConditions.urlContains(java.lang.String fraction) |
An expectation for the URL of the current page to contain specific text.
|
static ExpectedCondition<java.lang.Boolean> |
ExpectedConditions.urlMatches(java.lang.String regex) |
Expectation for the URL to match a specific regular expression
|
static ExpectedCondition<java.lang.Boolean> |
ExpectedConditions.urlToBe(java.lang.String url) |
An expectation for the URL of the current page to be a specific url.
|
static ExpectedCondition<org.openqa.selenium.WebElement> |
ExpectedConditions.visibilityOf(org.openqa.selenium.WebElement element) |
An expectation for checking that an element, known to be present on the DOM of a page, is
visible.
|
static ExpectedCondition<java.util.List<org.openqa.selenium.WebElement>> |
ExpectedConditions.visibilityOfAllElements(java.util.List<org.openqa.selenium.WebElement> elements) |
An expectation for checking that all elements present on the web page that match the locator
are visible.
|
static ExpectedCondition<java.util.List<org.openqa.selenium.WebElement>> |
ExpectedConditions.visibilityOfAllElements(org.openqa.selenium.WebElement... elements) |
An expectation for checking that all elements present on the web page that match the locator
are visible.
|
static ExpectedCondition<java.util.List<org.openqa.selenium.WebElement>> |
ExpectedConditions.visibilityOfAllElementsLocatedBy(org.openqa.selenium.By locator) |
An expectation for checking that all elements present on the web page that match the locator
are visible.
|
static ExpectedCondition<org.openqa.selenium.WebElement> |
ExpectedConditions.visibilityOfElementLocated(org.openqa.selenium.By locator) |
An expectation for checking that an element is present on the DOM of a page and visible.
|
static ExpectedCondition<java.util.List<org.openqa.selenium.WebElement>> |
ExpectedConditions.visibilityOfNestedElementsLocatedBy(org.openqa.selenium.By parent,
org.openqa.selenium.By childLocator) |
An expectation for checking child WebElement as a part of parent element to be visible
|
static ExpectedCondition<java.util.List<org.openqa.selenium.WebElement>> |
ExpectedConditions.visibilityOfNestedElementsLocatedBy(org.openqa.selenium.WebElement element,
org.openqa.selenium.By childLocator) |
An expectation for checking child WebElement as a part of parent element to be visible
|