I am unable to use the tap method on an Android for clicking on a Web Page. See the code below:
driver.get(“http://www.google.com”);
Thread.sleep(3000);
System.out.println(“Page opened!”);
driver.tap(1, 423, 964, 1);
}catch(SessionNotCreatedException e){
System.out.println(“Session could not be created! Test case stopped!”);
}
catch(NoSuchContextException e2){
System.out.println(“Element not found”);
}
}
I see the following exception:
Exception in thread “main” org.openqa.selenium.WebDriverException: Not yet implemented. Please help us: http://appium.io/get-involved.html (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 22 milliseconds
Why is this happening? Does the tap method not work on Android Web Browsers?
FYi, I am using Java client 4.0.0