Skip to content

Instantly share code, notes, and snippets.

@bogobogo
Last active April 16, 2017 09:44
Show Gist options
  • Save bogobogo/fbc9c159ecf5f6e15203f6e55bbee0f7 to your computer and use it in GitHub Desktop.
Save bogobogo/fbc9c159ecf5f6e15203f6e55bbee0f7 to your computer and use it in GitHub Desktop.
element(by.id('some_id'))
element(by.label('Some Text!!'))
element(by.id('Grandson883').withAncestor(by.id('Son883')))
element(by.id('Son883').withDescendant(by.id('Grandson883')))
element(by.type('RCTImageView'))
element(by.id('UniqueId345').and(by.label('ID')))
element(by.label('Product')).atIndex(2)
element(by.traits(['button'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment