How to locate element ID on native iOS app with Appium Inspector?


I am working on automation of native iOS app using Appium. I am using Appium Inspector to locate elements.
As you can see in the screenshot below, I can locate element by name and xpath but id is not available in the list. Developers set id for the element I want to locate, but I cannot see that id in Appium Inspector.

Can you please explain me how to find element id in native iOS app using Appium Inspector?

name= id
your Id = “btnOpenWV”

Thank you. Is it possible to have id in iOS app which is not accessibility id ?

For example, in Android app I have id and accessibility id set for the same element in the app, is that possible in iOS app as well?

1 Like