AndroidViewClient icon indicating copy to clipboard operation
AndroidViewClient copied to clipboard

Find a child of a view in python UiAutomator API (without specifying view text or content description)

Open nicktgn opened this issue 7 years ago • 0 comments

Is it possible to search child views inside another view (UiObject or UiObject2) using python API?

Something like these two java functions of UiAutomator java API:

OR

If this is not currently possible, is there any way to find a view inside the collection, if this view's text or description is unknown and the ID is not unique? Specific use case: find a particular view in a list and do assertion on its text.

This feature would be very useful. Thanks in avance

nicktgn avatar Dec 12 '18 07:12 nicktgn