Uses of Interface
org.openqa.selenium.support.ui.ExpectedCondition
Packages that use ExpectedCondition
-
Uses of ExpectedCondition in org.openqa.selenium.support.ui
Methods in org.openqa.selenium.support.ui that return ExpectedConditionModifier and TypeMethodDescriptionstatic ExpectedCondition<Alert>ExpectedConditions.alertIsPresent()static ExpectedCondition<Boolean>ExpectedConditions.and(ExpectedCondition<?>... conditions) An expectation with the logical and condition of the given list of conditions.static ExpectedCondition<Boolean>ExpectedConditions.attributeContains(By locator, String attribute, String value) An expectation for checking WebElement with given locator has attribute which contains specific valuestatic ExpectedCondition<Boolean>ExpectedConditions.attributeContains(WebElement element, String attribute, String value) An expectation for checking WebElement with given locator has attribute which contains specific valuestatic ExpectedCondition<Boolean>ExpectedConditions.attributeToBe(By locator, String attribute, String value) An expectation for checking WebElement with given locator has attribute with a specific valuestatic ExpectedCondition<Boolean>ExpectedConditions.attributeToBe(WebElement element, String attribute, String value) An expectation for checking given WebElement has attribute with a specific valuestatic ExpectedCondition<Boolean>ExpectedConditions.attributeToBeNotEmpty(WebElement element, String attribute) An expectation for checking WebElement any non empty value for given attributestatic ExpectedCondition<Boolean>ExpectedConditions.domAttributeToBe(WebElement element, String attribute, String value) An expectation for checking given WebElement has DOM attribute with a specific valuestatic ExpectedCondition<Boolean>ExpectedConditions.domPropertyToBe(WebElement element, String property, String value) An expectation for checking given WebElement has DOM property with a specific valuestatic 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<WebElement>ExpectedConditions.elementToBeClickable(WebElement element) 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(int frameLocator) An expectation for checking whether the given frame is available to switch to.static ExpectedCondition<WebDriver>ExpectedConditions.frameToBeAvailableAndSwitchToIt(String frameLocator) An expectation for checking whether the given frame is available to switch to.static ExpectedCondition<WebDriver>ExpectedConditions.frameToBeAvailableAndSwitchToIt(By locator) An expectation for checking whether the given frame is available to switch to.static ExpectedCondition<WebDriver>ExpectedConditions.frameToBeAvailableAndSwitchToIt(WebElement frameLocator) An expectation for checking whether the given frame is available to switch to.static ExpectedCondition<Boolean>ExpectedConditions.invisibilityOf(WebElement element) An expectation for checking the element to be invisiblestatic ExpectedCondition<Boolean>ExpectedConditions.invisibilityOfAllElements(List<WebElement> elements) An expectation for checking all elements from given list to be invisiblestatic ExpectedCondition<Boolean>ExpectedConditions.invisibilityOfAllElements(WebElement... elements) An expectation for checking all elements from given list to be invisiblestatic 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.javaScriptThrowsNoExceptions(String javaScript) An expectation to check if js executable.static ExpectedCondition<Object>ExpectedConditions.jsReturnsValue(String javaScript) An expectation for String value from javascriptstatic ExpectedCondition<Boolean>ExpectedConditions.not(ExpectedCondition<?> condition) An expectation with the logical opposite condition of the given condition.static ExpectedCondition<List<WebElement>>ExpectedConditions.numberOfElementsToBe(By locator, Integer number) An expectation for checking number of WebElements with given locatorstatic ExpectedCondition<List<WebElement>>ExpectedConditions.numberOfElementsToBeLessThan(By locator, Integer number) An expectation for checking number of WebElements with given locator being less than defined numberstatic ExpectedCondition<List<WebElement>>ExpectedConditions.numberOfElementsToBeMoreThan(By locator, Integer number) An expectation for checking number of WebElements with given locator being more than defined numberstatic ExpectedCondition<Boolean>ExpectedConditions.numberOfWindowsToBe(int expectedNumberOfWindows) static ExpectedCondition<Boolean>ExpectedConditions.or(ExpectedCondition<?>... conditions) An expectation with the logical or condition of the given list of conditions.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 ExpectedCondition<WebElement>ExpectedConditions.presenceOfNestedElementLocatedBy(By locator, By childLocator) An expectation for checking child WebElement as a part of parent element to presentstatic ExpectedCondition<WebElement>ExpectedConditions.presenceOfNestedElementLocatedBy(WebElement element, By childLocator) An expectation for checking child WebElement as a part of parent element to be presentstatic ExpectedCondition<List<WebElement>>ExpectedConditions.presenceOfNestedElementsLocatedBy(By parent, By childLocator) An expectation for checking child WebElement as a part of parent element to presentstatic <T> ExpectedCondition<T>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.textMatches(By locator, Pattern pattern) An expectation for checking WebElement with given locator has text with a value as a part of itstatic ExpectedCondition<Boolean>An expectation for checking WebElement with given locator has specific textstatic ExpectedCondition<Boolean>ExpectedConditions.textToBePresentInElement(WebElement element, String text) An expectation for checking if the given text is present in the specified element.static ExpectedCondition<Boolean>ExpectedConditions.textToBePresentInElementLocated(By locator, String text) An expectation for checking if the given text is present in the element that matches the given locator.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.textToBePresentInElementValue(WebElement element, 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 substringstatic ExpectedCondition<Boolean>An expectation for checking the title of a page.static ExpectedCondition<Boolean>ExpectedConditions.urlContains(String fraction) An expectation for the URL of the current page to contain specific text.static ExpectedCondition<Boolean>ExpectedConditions.urlMatches(String regex) Expectation for the URL to match a specific regular expressionstatic ExpectedCondition<Boolean>An expectation for the URL of the current page to be a specific url.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<List<WebElement>>ExpectedConditions.visibilityOfAllElements(List<WebElement> elements) An expectation for checking that all elements present on the web page that match the locator are visible.static ExpectedCondition<List<WebElement>>ExpectedConditions.visibilityOfAllElements(WebElement... elements) An expectation for checking that all elements present on the web page that match the locator are visible.static ExpectedCondition<List<WebElement>>ExpectedConditions.visibilityOfAllElementsLocatedBy(By locator) An expectation for checking that all elements present on the web page that match the locator are 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.static ExpectedCondition<List<WebElement>>ExpectedConditions.visibilityOfNestedElementsLocatedBy(By parent, By childLocator) An expectation for checking child WebElement as a part of parent element to be visiblestatic ExpectedCondition<List<WebElement>>ExpectedConditions.visibilityOfNestedElementsLocatedBy(WebElement element, By childLocator) An expectation for checking child WebElement as a part of parent element to be visibleMethods in org.openqa.selenium.support.ui with parameters of type ExpectedConditionModifier and TypeMethodDescriptionstatic ExpectedCondition<Boolean>ExpectedConditions.and(ExpectedCondition<?>... conditions) An expectation with the logical and condition of the given list of conditions.static ExpectedCondition<Boolean>ExpectedConditions.not(ExpectedCondition<?> condition) An expectation with the logical opposite condition of the given condition.static ExpectedCondition<Boolean>ExpectedConditions.or(ExpectedCondition<?>... conditions) An expectation with the logical or condition of the given list of conditions.static <T> ExpectedCondition<T>ExpectedConditions.refreshed(ExpectedCondition<T> condition) Wrapper for a condition, which allows for elements to update by redrawing.