Page tree
Skip to end of metadata
Go to start of metadata

Last updated: Oct 05, 2018 12:55


You can observe error like this one

org.openqa.selenium.WebDriverException: Method is not implemented


when you are running on iOS devices with different OS versions, because of the fact that UIAutomation is used for iOS 9.3 and below, and XCUITest for iOS 9.3 and up


So as soon as you see it, you can go to the part of the code where you are trying to find that element, and check the syntax you are using to find it.

It probably will looks like:

driver.FindElementByXPath("//*[@label=\"0\"]");


This is the code you need to edit following the new syntax. The new line should looks like that:

driver.findElement(By.xpath("//*[@label=\"0\"]")


If you have any other issues/questions related to similar errors, you can visit this article