While executing test on Real device (iPhone 6S / 9.3.3 / 9.3.4/9.3.5) , getting the below mentioned error.
The issue I see I am able to rectify is that Appium 1.5.3 version is not supporting “name” locator strategy.The same code base is working fine for Android Device but facing issue in-case of iOS device only.
Did anyone also face the same issue or do we have any workaround?
Error Snap Shot:
org.openqa.selenium.InvalidSelectorException: Locator Strategy ‘name’ is not supported for this session (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 4 milliseconds
For documentation on this error, please visit: http://seleniumhq.org/exceptions/invalid_selector_exception.html
Build info: version: ‘2.44.0’, revision: ‘76d78cf323ce037c5f92db6c1bba601c2ac43ad8’, time: ‘2014-10-23 13:11:40’
System info: host: ‘MACPRO08.local’, ip: ‘192.168.1.42’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.11.4’, java.version: ‘1.8.0_60’
Driver info: io.appium.java_client.ios.IOSDriver
Capabilities [{networkConnectionEnabled=false, databaseEnabled=false, deviceName=iPhone 6S+, launchTimeout=200000, platform=MAC, showIOSLog=true, desired={showIOSLog=true, newCommandTimeout=5000, platformVersion=9.2.1, browserName=safari, platformName=iOS, udid=c8202cd42206308af02b6ffd24ba897c9ae74fee, device=null, deviceName=iPhone 6S+, launchTimeout=200000}, newCommandTimeout=5000, platformVersion=9.2.1, webStorageEnabled=false, locationContextEnabled=false, browserName=safari, takesScreenshot=true, javascriptEnabled=true, platformName=iOS, udid=c8202cd42206308af02b6ffd24ba897c9ae74fee, device=null}]
Session ID: 9689beaf-5da6-4cab-8a08-3b277d73c6ce