解决 'chromedriver' executable needs to be in PATH.'报错
Posted Claire_xu
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决 'chromedriver' executable needs to be in PATH.'报错相关的知识,希望对你有一定的参考价值。
试了把chromedriver.exe放到chrome安装文件下,python安装文件下,然后把路径配到path里,均无用。
最后是修改函数调用得以解决:
from selenium import webdriver
browser = webdriver.Chrome(executable_path = ‘C:\Program Files (x86)\Google\Chrome\Application\chromedriver_X64.exe‘)
browser.get(‘http://www.baidu.com‘)
以上是关于解决 'chromedriver' executable needs to be in PATH.'报错的主要内容,如果未能解决你的问题,请参考以下文章
解决python中'chromedriver' executable needs to be in PATH报错
Message: 'chromedriver' executable needs to be in PATH.解决办法(综合了网上的一些办法)
python3+selenium3之 解决:'chromedriver' executable needs to be in PATH问题
(续篇)Selenium 安装配置以及如何解决('chromedriver' executable needs to be in PATH. Please see https://s
'chromedriver' executable needs to be in PATH
selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to b