public interface FindsByAccessibilityId<T extends WebElement> extends FindsByFluentSelector<T>
Modifier and Type | Method and Description |
---|---|
default T |
findElementByAccessibilityId(java.lang.String using)
Method performs the searching for a single element by accessibility ID selector
and value of the given selector.
|
default java.util.List<T> |
findElementsByAccessibilityId(java.lang.String using)
Method performs the searching for a list of elements by accessibility ID selector
and value of the given selector.
|
findElement, findElements
default T findElementByAccessibilityId(java.lang.String using)
using
- an accessibility ID selectororg.openqa.selenium.WebDriverException
- This method is not applicable with browser/webview UI.org.openqa.selenium.NoSuchElementException
- when no one element is founddefault java.util.List<T> findElementsByAccessibilityId(java.lang.String using)
using
- an accessibility ID selectororg.openqa.selenium.WebDriverException
- This method is not applicable with browser/webview UI.