Created
March 12, 2021 01:37
-
-
Save dannyshain/1146f327ed52970d385fea4de91faaa4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Android DataMatchers | |
driver.findElementByAndroidDataMatcher(orderJSON.toString().click() | |
// iOS NSPredicates | |
driver.findElement(MobileBy.iOSNsPredicateString("name IN {'chained VieW','Demos wheel picker color'} AND visible == 1")).click(); | |
// iOS Class Chain | |
driver.findElement(MobileBy.iOSClassChain("'XCUIElementTypeWindow'/**/XCUIElementTypeStaticText[2]")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment