Search code examples
javaselenium-webdriverwebdrivercucumber-javafirefox-marionette

Selenium web driver moveToElement (Actions) throwing error with marionette driver?


Getting following error in selenium tests

POST /session/ee1b9201-dadc-7446-b753-0a418a230d30/moveto did not match a known command 

What i've done is

Actions resetView = new Actions(driver);
resetView.moveToElement(el).perform();

Environment:

Firefox v47.0

Webdriver 3.0.0-beta2


Solution

  • This is entirely expected. No releases of GeckoDriver (Marionette) support the Actions class. It is one of the top priorities of Mozilla's team developing Marionette.