Skip to content

Commit

Permalink
Clarify usage of grey_accessibilityID()
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleFin authored and khandpur committed Jul 14, 2017
1 parent 4496179 commit 8ca5c21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ that can pinpoint any element in the UI hierarchy.
All EarlGrey matchers are available in the [GREYMatchers](../EarlGrey/Matcher/GREYMatchers.m)
factory class. The best way to find a UI element is to use its accessibility properties. We
strongly recommend using an [accessibility identifier](https://developer.apple.com/library/ios/documentation/uikit/reference/UIAccessibilityIdentification_Protocol/Introduction/Introduction.html)
as it uniquely identifies an element. Use `grey_accessibilityID()` as your matcher to get a UI
element's accessibility identifier. You can also use other accessibility properties, such as using
as it uniquely identifies an element. Use `grey_accessibilityID()` as your matcher to select a UI
element by its accessibility identifier. You can also use other accessibility properties, such as using
`grey_accessibilityTrait()` as the matcher for UI elements with specific accessibility traits, or by using
`grey_accessibilityLabel()` as the matcher for accessibility labels.
Expand Down

0 comments on commit 8ca5c21

Please sign in to comment.