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
An element could not be located on the page using the given search parameters
why ??