How to setup id attribute to native selector to be located with Appium #6568
Unanswered
facundofacio
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm trying to automate some mobile tests with Appium for Android/iOS for a Vue + capacitor native app. Trying to use the ID locator strategy, by adding unique id's in some Vue components like this:
It works ok in Android (Appium inspector effectively finds resource-id element identifiers) but not in iOS (where any element identifier with that value is visible in XML tree).
Android:
iOS:
What can I do to make those tags appear on iOS? Does it has something to do with capacitor config?
Appium Android capabilities:
Appium iOS capabilities:
Beta Was this translation helpful? Give feedback.
All reactions