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
Post a Comment