I have a list with 5 element, and I want to catch every time I run the test, one of them. I have the Xpath
(//*[@resource-id='debug:id/et_input'])[1]
which catches the first element of the list every time.
How can I modify it so, the next time I run the test this Xpath will be like:
(//*[@resource-id='debug:id/et_input'])[2]
and so on. Thank you in advance