有一年多没写web自动化了,今天搭建环境的时候报了一个常见错误,但是处理过程有点闹心,报错就是常见的找不到驱动《selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH》,下载对应版本的驱动,放至chrome的安装目录的application下面,但是还一直报相同的错误(印象中一年之前遇到相同的问题不是这么处理的,但是记不起来),查了一些blog,找到一个解决办法,就是将下载好的驱动防止python的安装目录下即可,我的安装目录(C:\Python27)
相关文章
- 10-21Path通过Selenium模拟浏览器抓取,Windows 64解决selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH.方法
- 10-21python+selenium,打开浏览器时报selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH
- 10-21selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH.
- 10-21解决selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home
- 10-21python 安装selenium首次运行错误selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH
- 10-21selenium使用遇到的问题(selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH.)
- 10-21centos7 selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH
- 10-21mac-webui-selenium下的webdriver selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH