Appium 1.6.5 - org.openqa.selenium.WebDriverException: Method has not yet been implemented - on using Touch Action

I am getting above error while executing this code

WebElement radio = (WebElement) driver.findElements(By.tagName(“option”)).get(1); radio.click();

TouchAction touch = new TouchAction(driver);
driver.performTouchAction(touch).tap(radio);

org.openqa.selenium.WebDriverException: Method has not yet been implemented (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 52 milliseconds

check the java client library version you are using.

Hi , this is the library I am using java-client-5.0.0-BETA9

change driver type to AppiumDriver. or try following

touch(0).perform().

Hi , I am still getting the same error

Can you share your complete code

@nelson “you are using it wrong” © No me


new TouchAction((MobileDriver) driver).press(radio).waitAction(Duration.ofMillis(70)).release().perform();

Hi All, is there any updates on this? even I’m facing the same issue.

Any update on this? I am still facing this issue

this is the designed behaviour. It is required that the current context is native in order for touch actions to work.