Hi All,
I’ve just taken over looking after the android side of our automation and was wondering if anyone could prove a simple example of the ‘ANDROIDUIAUTOMATOR’ locator

As want to use same logic as iOSPredicate works eg:
type == 'XCUIElementTypeButton' AND name == 'recordOptionsFlip' AND visible == 1
But not finding any documentation / examples so any help would be great

Hi @tsalisbury,
For Android UI Automator locator you will need to follow this list of options of locators support

Here is an example of a locator:

 new UiSelector().text("Device")

this locator will find the first element with text Device.

Please let me know if that solved your issue.

Kind regards

This topic was automatically closed after 180 days. New replies are no longer allowed.