Selenium web driver moveToElement (Actions) throw an error with puppet driver?

Getting the following error in selenium tests

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

What i did is

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

Environment:

Firefox v47.0

Webdriver 3.0.0-beta2

+4
source share
2 answers

This is quite expected. No GeckoDriver (Marionette) releases support the Actions class. This is one of the top priorities of the Mozilla team developing Marionette.

+4
source

There is a problem that Selenium is monitoring that it is blocked. A puppet problem .

Since the problem is for 3 weeks, and looking at their fixation log , I would not hold my breath for the patch in the near future.

If you can use Firefox 47.0.1 because they had a different error in Firefox 47.0 , you can use the old WebDriver API, which works (not a puppet). From 48 it stops working because you have to use Marionette. Yes, this puppet is not finished yet.

If you have to test Firefox, I recommend that you stick with Firefox 47.0.1, Selenium 2.latest, ultimately throw them in the docker image and run like this.

What I am doing, at least for the Germanium , until he, hopefully, will eventually work for the Marionette as well.

+2
source

Source: https://habr.com/ru/post/1264881/


All Articles