APPIUM - IOS- Cant press on "DONE" Elementon the bar


#1

Hi, I cant press on the DONE element on the screen (See attach image)

i try with id (

DoneButtonOnBar = (MobileElement)driver.findElement(By.id(“Done”));

With name

DoneButtonOnBar = (MobileElement)driver.findElement(By.name(“Done”));;

With path

DoneButtonOnBar = (MobileElement)driver.findElement(By.xpath("//XCUIElementTypeButton[@name=“Done”]"));

but the same error message :slight_smile:

An element could not be located on the page using the given search parameters

why ??