One of the new features of Appium 1.12 is a new selector strategy for Android (Espresso only) called -android datamatcher
. This new selector strategy makes use of Espresso's data matcher.
A challenge for selecting elements with Android is selecting elements that aren't rendered on the screen. Take this example:
(TODO: Mention the multiple adapterView problem and the solution)
(TODO: Show an example of JSON for selecting with equivalent Java code)