public static class MobileBy.ByIosNsPredicate extends MobileBy implements java.io.Serializable
MobileBy.ByAccessibilityId, MobileBy.ByAndroidUIAutomator, MobileBy.ByIosClassChain, MobileBy.ByIosNsPredicate, MobileBy.ByIosUIAutomation, MobileBy.ByWindowsAutomation
org.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 |
ByIosNsPredicate(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, AndroidUIAutomator, getLocatorString, iOSClassChain, iOSNsPredicateString, IosUIAutomation, windowsAutomation
public java.util.List<WebElement> findElements(SearchContext context)
findElements
in class MobileBy
org.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 MobileBy
org.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