elementByAndroidUIAutomator

I am working on a project and would like to know more about elementByAndroidUIAutomator in the wd library. Can you please advise what type of value this method takes? Also, if you can direct me to any documentation/blogs that might explain some of the wd methods further would be nice.

Hi,
AndroidUIAutomator api takes “UiSelector” object represented as String.

In this post Getting selected text for a combobox in Android I have quoted such example [with chained UISelector strategy]

More details on UiSelector can be found @ http://developer.android.com/tools/help/uiautomator/UiSelector.html

Hope this helps!

1 Like