Actions Class not working with gecko driver | Selenium Forum
M
Posted on 06/08/2016
I am facing a problem with Actions class driver. I have this piece of code

Actions act= new Actions(d1);
act.moveToElement(d1.findElement(By.xpath("path of the element")).build().perform();

Previously when i am using Selenium-Java 2.43.0 , this command is working fine. But i have upgraded to 3.0.0-beta2, started access firefox driver through gecko driver.

At the above specified command my test is failing . Am getting the below exception

org.openqa.selenium.UnsupportedCommandException: POST /session/21dfc828-a382-4622-8c61-89bc48e29744/moveto did not match a known command (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 4 milliseconds

please help

M
Replied on 06/08/2016

i think gecko driver does not support.

use Robot class instead


M
Replied on 08/08/2016

revert to selenium 2.53. new version of selenium is still in beta.