首页 > 编程语言 > 详细

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

时间:2017-03-01 22:53:15      阅读:792      评论:0      收藏:0      [点我收藏+]

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。

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

原文:http://www.cnblogs.com/yanghaotai/p/6486536.html

(0)
(2)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!