Appium iOS automation using Java : get element using accessibility Id? -


i new ios automation using appium. can access elements , automation using xpath this

driver.findelement(by.xpath("//uiaapplication[1]/uiawindow[2]/uiasecuretextfield[3]")).click(); 

i access elements using accessibility label name given. when using appium inspector can see accessibility name displayed under parameter value . how access value using java code?

thanks.

you should able use findelementbyaccessibilityid(string using) method in java. more info on here:

http://appium.github.io/java-client/io/appium/java_client/findsbyaccessibilityid.html


Comments

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -