| Package | Description |
|---|---|
| aquality.selenium.core.elements | |
| aquality.selenium.core.elements.interfaces |
| Modifier and Type | Method and Description |
|---|---|
protected DesiredState |
ElementStateProvider.elementClickable() |
protected DesiredState |
ElementStateProvider.elementEnabled() |
protected DesiredState |
ElementStateProvider.elementNotEnabled() |
DesiredState |
DesiredState.withCatchingTimeoutException() |
DesiredState |
DesiredState.withThrowingNoSuchElementException() |
| Modifier and Type | Method and Description |
|---|---|
List<org.openqa.selenium.WebElement> |
RelativeElementFinder.findElements(org.openqa.selenium.By locator,
DesiredState desiredState,
Duration timeout) |
List<org.openqa.selenium.WebElement> |
ElementFinder.findElements(org.openqa.selenium.By locator,
DesiredState desiredState,
Duration timeout) |
protected void |
ElementFinder.handleTimeoutException(org.openqa.selenium.TimeoutException exception,
org.openqa.selenium.By locator,
DesiredState desiredState,
boolean wasAnyElementFound)
depends on configuration of DesiredState object it can be required to throw or not NoSuchElementException
|
protected boolean |
ElementFinder.tryToFindElements(org.openqa.selenium.By locator,
DesiredState desiredState,
AtomicBoolean wasAnyElementFound,
List<org.openqa.selenium.WebElement> resultElements,
org.openqa.selenium.SearchContext context) |
| Modifier and Type | Method and Description |
|---|---|
default DesiredState |
IElementFinder.resolveState(ElementState state)
Provides
DesiredState with predicate for desired ElementState. |
| Modifier and Type | Method and Description |
|---|---|
default List<org.openqa.selenium.WebElement> |
IElementFinder.findElements(org.openqa.selenium.By locator,
DesiredState desiredState)
Finds elements in state defined by
DesiredState with default timeout. |
List<org.openqa.selenium.WebElement> |
IElementFinder.findElements(org.openqa.selenium.By locator,
DesiredState desiredState,
Duration timeout)
Finds elements in state defined by
DesiredState. |
Copyright © 2020. All rights reserved.