python+selenium3+firefox中使用ActionChains双击等鼠标事件操作报错,但是其它谷歌、ie等浏览器均正常

raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: POST /session/ba4e5dd2-0fdc-4aaa-8641-15e8049fab8f/moveto did not match a known command

这是Mozilla/geckodriver的一个bug,由于geckodriver开发是2016年中旬的,所以只能这对firefox47或者更老的版本使用,如果你要使用selenuym3+firefox,请使用较老版本的firefox。或者你可以尝试考虑selenuym3+chrome。

原文地址:https://www.cnblogs.com/yanghaotai/p/6486536.html