Skip to content

Instantly share code, notes, and snippets.

@dannyshain
Created March 12, 2021 01:37
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save dannyshain/1146f327ed52970d385fea4de91faaa4 to your computer and use it in GitHub Desktop.
// 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