Below is the screenshot of the DropDown Textfield which I want to automate:
I have extracted below element:
@iOSFindBy(xpath = “//XCUIElementTypeCell[3]/XCUIElementTypeTextField”)
IOSElement sportsTextField;
And tried below actions which were unsuccessful:
- sportsTextField.sendKeys(text);
- sportsTextField.clear();
This is my Page Source(driver.getPageSource()) of the screen where drop-down field is located: https://gist.github.com/prat3ik/694bdfd6f5400ac8f54bed0f2ce2f385
Any help on this would really appreciated.