public static class MobileBy.ByAndroidDataMatcher extends MobileBy implements java.io.Serializable
MobileBy.ByAccessibilityId, MobileBy.ByAndroidDataMatcher, MobileBy.ByAndroidUIAutomator, MobileBy.ByAndroidViewTag, MobileBy.ByCustom, MobileBy.ByImage, MobileBy.ByIosClassChain, MobileBy.ByIosNsPredicate, MobileBy.ByWindowsAutomationorg.openqa.selenium.By.ByClassName, org.openqa.selenium.By.ByCssSelector, org.openqa.selenium.By.ById, org.openqa.selenium.By.ByLinkText, org.openqa.selenium.By.ByName, org.openqa.selenium.By.ByPartialLinkText, org.openqa.selenium.By.ByTagName, org.openqa.selenium.By.ByXPath| Modifier | Constructor and Description |
|---|---|
protected |
ByAndroidDataMatcher(java.lang.String locatorString) |
| Modifier and Type | Method and Description |
|---|---|
WebElement |
findElement(SearchContext context) |
java.util.List<WebElement> |
findElements(SearchContext context) |
java.lang.String |
toString() |
AccessibilityId, androidDataMatcher, AndroidUIAutomator, AndroidViewTag, custom, image, iOSClassChain, iOSNsPredicateString, windowsAutomationprotected ByAndroidDataMatcher(java.lang.String locatorString)
public java.util.List<WebElement> findElements(SearchContext context)
findElements in class MobileByorg.openqa.selenium.WebDriverException - when current session doesn't support the given selector or when
value of the selector is not consistent.java.lang.IllegalArgumentException - when it is impossible to find something on the given
SearchContext instancepublic WebElement findElement(SearchContext context)
findElement in class MobileByorg.openqa.selenium.WebDriverException - when current session doesn't support the given selector or when
value of the selector is not consistent.java.lang.IllegalArgumentException - when it is impossible to find something on the given
SearchContext instancepublic java.lang.String toString()
toString in class org.openqa.selenium.By