jeudi 22 octobre 2015

Appium, Android - Finding element inside another element

I am trying to check if element exist, but appium seems to ignore searching an element when we specified that it should be inside another element. For example:

driver.findElementByAccessibilityId("First element").findElementByAccessibilityId("Second element");

It should work somehow since there is option in Appium inspector called Locator where after selecting strategy and choosing search from selected element option it finds what I expect.

What is the proper way of finding such elements ?

Aucun commentaire:

Enregistrer un commentaire