Java org.openqa.selenium.support.ui ExpectedConditions fields, constructors, methods, implement or subclass

Example usage for Java org.openqa.selenium.support.ui ExpectedConditions fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.openqa.selenium.support.ui ExpectedConditions.

The text is from its open source code.

Method

ExpectedConditionalertIsPresent()
ExpectedConditionattributeContains(final WebElement element, final String attribute, final String value)
An expectation for checking WebElement with given locator has attribute which contains specific value
ExpectedConditionattributeContains(final By locator, final String attribute, final String value)
An expectation for checking WebElement with given locator has attribute which contains specific value
ExpectedConditionattributeToBe(final By locator, final String attribute, final String value)
An expectation for checking WebElement with given locator has attribute with a specific value
ExpectedConditionattributeToBe(final WebElement element, final String attribute, final String value)
An expectation for checking given WebElement has attribute with a specific value
ExpectedConditionattributeToBeNotEmpty(final WebElement element, final String attribute)
An expectation for checking WebElement any non empty value for given attribute
ExpectedConditionelementSelectionStateToBe(final WebElement element, final boolean selected)
An expectation for checking if the given element is selected.
ExpectedConditionelementSelectionStateToBe(final By locator, final boolean selected)
ExpectedConditionelementToBeClickable(final By locator)
An expectation for checking an element is visible and enabled such that you can click it.
ExpectedConditionelementToBeClickable(final WebElement element)
An expectation for checking an element is visible and enabled such that you can click it.
ExpectedConditionelementToBeSelected(final WebElement element)
An expectation for checking if the given element is selected.
ExpectedConditionelementToBeSelected(final By locator)
ExpectedConditionframeToBeAvailableAndSwitchToIt(final String frameLocator)
An expectation for checking whether the given frame is available to switch to.
ExpectedConditionframeToBeAvailableAndSwitchToIt(final By locator)
An expectation for checking whether the given frame is available to switch to.
ExpectedConditionframeToBeAvailableAndSwitchToIt(final int frameLocator)
An expectation for checking whether the given frame is available to switch to.
ExpectedConditionframeToBeAvailableAndSwitchToIt(final WebElement frameLocator)
An expectation for checking whether the given frame is available to switch to.
ExpectedConditioninvisibilityOf(final WebElement element)
An expectation for checking the element to be invisible
ExpectedConditioninvisibilityOfAllElements(final WebElement... elements)
An expectation for checking all elements from given list to be invisible
ExpectedConditioninvisibilityOfAllElements(final List elements)
An expectation for checking all elements from given list to be invisible
ExpectedConditioninvisibilityOfElementLocated(final By locator)
An expectation for checking that an element is either invisible or not present on the DOM.
ExpectedConditioninvisibilityOfElementWithText(final By locator, final String text)
An expectation for checking that an element with text is either invisible or not present on the DOM.
ExpectedConditionjsReturnsValue(final String javaScript)
An expectation for String value from javascript
ExpectedConditionnot(final ExpectedCondition condition)
An expectation with the logical opposite condition of the given condition.
ExpectedCondition>numberOfElementsToBe(final By locator, final Integer number)
An expectation for checking number of WebElements with given locator
ExpectedConditionnumberOfWindowsToBe(final int expectedNumberOfWindows)
ExpectedCondition>presenceOfAllElementsLocatedBy(final By locator)
An expectation for checking that there is at least one element present on a web page.
ExpectedConditionpresenceOfElementLocated(final By locator)
An expectation for checking that an element is present on the DOM of a page.
ExpectedConditionpresenceOfNestedElementLocatedBy(final By locator, final By childLocator)
An expectation for checking child WebElement as a part of parent element to present
ExpectedConditionpresenceOfNestedElementLocatedBy(final WebElement element, final By childLocator)
An expectation for checking child WebElement as a part of parent element to be present
ExpectedConditionrefreshed(final ExpectedCondition condition)
Wrapper for a condition, which allows for elements to update by redrawing.
ExpectedConditionstalenessOf(final WebElement element)
Wait until an element is no longer attached to the DOM.
ExpectedConditiontextToBe(final By locator, final String value)
An expectation for checking WebElement with given locator has specific text
ExpectedConditiontextToBePresentInElement(final WebElement element, final String text)
An expectation for checking if the given text is present in the specified element.
ExpectedConditiontextToBePresentInElementLocated(final By locator, final String text)
An expectation for checking if the given text is present in the element that matches the given locator.
ExpectedConditiontextToBePresentInElementValue(final WebElement element, final String text)
An expectation for checking if the given text is present in the specified elements value attribute.
ExpectedConditiontextToBePresentInElementValue(final By locator, final String text)
An expectation for checking if the given text is present in the specified elements value attribute.
ExpectedConditiontitleContains(final String title)
An expectation for checking that the title contains a case-sensitive substring
ExpectedConditiontitleIs(final String title)
An expectation for checking the title of a page.
ExpectedConditionurlContains(final String fraction)
An expectation for the URL of the current page to contain specific text.
ExpectedConditionurlMatches(final String regex)
Expectation for the URL to match a specific regular expression
ExpectedConditionurlToBe(final String url)
An expectation for the URL of the current page to be a specific url.
ExpectedConditionvisibilityOf(final WebElement element)
An expectation for checking that an element, known to be present on the DOM of a page, is visible.
ExpectedCondition>visibilityOfAllElements(final WebElement... elements)
An expectation for checking that all elements present on the web page that match the locator are visible.
ExpectedCondition>visibilityOfAllElements(final List elements)
An expectation for checking that all elements present on the web page that match the locator are visible.
ExpectedCondition>visibilityOfAllElementsLocatedBy(final By locator)
An expectation for checking that all elements present on the web page that match the locator are visible.
ExpectedConditionvisibilityOfElementLocated(final By locator)
An expectation for checking that an element is present on the DOM of a page and visible.