python+selenium,打开浏览器时报selenium.common.exceptions.WebDriverException: Message: 'chromedriver' execut...
2020-02-12 04:23
639 查看
有一年多没写web自动化了,今天搭建环境的时候报了一个常见错误,但是处理过程有点闹心,报错就是常见的找不到驱动《selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH》,下载对应版本的驱动,放至chrome的安装目录的application下面,但是还一直报相同的错误(印象中一年之前遇到相同的问题不是这么处理的,但是记不起来),查了一些blog,找到一个解决办法,就是将下载好的驱动防止python的安装目录下即可,我的安装目录(C:\Python27)
转载于:https://www.cnblogs.com/zy0209/p/10143490.html
- 点赞
- 收藏
- 分享
- 文章举报
相关文章推荐
- Selenium python 启动firefox浏览器的异常selenium.common.exceptions.WebDriverException: Message: 'geckodriver'
- Python脚本报错:selenium.common.exceptions.WebDriverException: Message: Service chromedriver.exe unexpect
- Python爬虫——selenium.common.exceptions.WebDriverException: Message: Failed to set preferences: Unable
- selenium.common.exceptions.webdriverexception: message: unknown error: cannot find Chrome binary
- python seleinum driver.implicitly_wait(10) 报selenium.common.exceptions.WebDriverException: Message:
- Fixing “selenium.common.exceptions.WebDriverException: Message: ‘Can\’t load the profile.” 分类: 问题总结 python下载 ubuntu python基础学习 2014-01-20 15:28
- selenium.common.exceptions.WebDriverException:Message:'chromedriver' executable needs to be in PATH
- selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PAT
- selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PAT
- selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH
- selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exite
- 解决selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in P
- Python爬虫——selenium.common.exceptions.WebDriverException: Message: Service geckodriver unexpectedly e
- selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be inPATH
- webdriver.Chrome()报错:selenium.common.exceptions.WebDriverException: Message: 'chromedriver' ...
- selenium.common.exceptions.WebDriverException: Message: unknown Error: cannot find Chrome binary
- selenium.common.exceptions.WebDriverException: Message: "Can't load the profile.
- IOS——selenium.common.exceptions.WebDriverException: Message: Parameters were incorrect. We wanted {"
- 关于selenium3,““selenium.common.exceptions.WebDriverException: Message: 'geckodriver'
- selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH.