I have started my first automation project using Cucumber/Selenium 3.4 with Appium 1.6.5 and iOS version 10.2.
I am able to launch the iOS app perfectly, but I am unable to interact with any elements.
for example, when the app launches, there a table with multiple values on the app page.
the Element is identified as
I have tried
driver.findElement(By.xpath("//XCUIElementTypeStaticText[@name=‘City’]"))
Didnt work
driver.findElement(MobileBy.className("XCUIElementTypePickerWheel")).sendKeys("some_text");
((IOSDriver) driver).findElementsByIosNsPredicate("value = '" + descr + "'") // value is Text to search
driver.findElement(MobileBy.iOSNsPredicateString("type == 'XCUIElementTypeStaticText' AND name == '" + name + "' AND visible == 1")) // name is ID in most cases
driver.findElement(MobileBy.iOSNsPredicateString(“type == ‘XCUIElementTypeStaticText’ AND name == '” + name + “’ AND visible == 1”)) // name is ID in most cases