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
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…