python3.5+django1.10:selenium.common.exceptions.WebDriverException->moveto did not match a known com
2017-02-17 11:32
609 查看
在运行webdriver调用ActionChains(driver).click_and_hold(on_element=element).perform()时抛出selenium.common.exceptions.WebDriverException异常,firefox版本51.0.1,在stackoverflow上找到别人遇到的同样的问题点击打开链接,其中第一个回答如下:
Sadly this appears to be a bug in the Mozilla/geckodriver side of the Actions implementation that has been lingering since mid 2016. If you really need this, switch to something not Firefox or grab a pre-geckodriver Firefox (47 or below, I believe) and use
the older webdriver bindings (i.e., Selenium 2). Unfortunately, it is not as easy as just getting the older FF version.
译文如下:
很遗憾的是这是一个Mozilla/geckodriver中用户操作(Actions)实现代码中的bug,这个bug从2016年年中就存在了一直到今天。如果你真想用这个功能,那么就别用firefox或者将firefox的版本降级到47(我认为是这个版本,仅供参考)号版本或以下,以及另一个方法使用更早的webdriver版本(比如selenium2中的webdriver)。很不幸的是获取老版本的FF并不容易。
Sadly this appears to be a bug in the Mozilla/geckodriver side of the Actions implementation that has been lingering since mid 2016. If you really need this, switch to something not Firefox or grab a pre-geckodriver Firefox (47 or below, I believe) and use
the older webdriver bindings (i.e., Selenium 2). Unfortunately, it is not as easy as just getting the older FF version.
译文如下:
很遗憾的是这是一个Mozilla/geckodriver中用户操作(Actions)实现代码中的bug,这个bug从2016年年中就存在了一直到今天。如果你真想用这个功能,那么就别用firefox或者将firefox的版本降级到47(我认为是这个版本,仅供参考)号版本或以下,以及另一个方法使用更早的webdriver版本(比如selenium2中的webdriver)。很不幸的是获取老版本的FF并不容易。
相关文章推荐
- Python爬虫——selenium.common.exceptions.WebDriverException: Message: Failed to set preferences: Unable
- selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH
- Python selenium.common.exceptions.WebDriverException
- selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH
- Python脚本报错:selenium.common.exceptions.WebDriverException: Message: Service chromedriver.exe unexpect
- selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH.
- selenium.common.exceptions.WebDriverException: Message: 'phantomjs' executable needs to be in PATH
- appium创建session失败:selenium.common.exceptions.WebDriverException: Message: A new session could not be
- selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH
- selenium.common.exceptions.WebDriverException: Message: 'IEDriverServer.exe' executable needs to be
- selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PAT
- Fixing “selenium.common.exceptions.WebDriverException: Message: ‘Can\’t load the profile.” 分类: 问题总结 python下载 ubuntu python基础学习 2014-01-20 15:28
- Python爬虫——selenium.common.exceptions.WebDriverException: Message: Service geckodriver unexpectedly e
- Selenium python 启动firefox浏览器的异常selenium.common.exceptions.WebDriverException: Message: 'geckodriver'
- mac 下运行selenium 出错解决(selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executab)
- 关于selenium3,““selenium.common.exceptions.WebDriverException: Message: 'geckodriver'
- selenium.common.exceptions.WebDriverException: Message: "Can't load the profile.
- How to install MySQL JDBC driver in Eclipse web project without java.lang.ClassNotFoundexception com
- Selenium2学习-038-firefox、webdriver版本不对称问题解决:org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055
- Fixing “selenium.common.exceptions.WebDriverException: Message: ‘Can\’t load the profile.”