Message: 'chromedriver.exe' executable needs to be in PATH. Please see https

来吧,Python3.6+selenium,启动报错了

Message: 'chromedriver.exe' executable needs to be in PATH. Please see https……

为什么这么任性的报错?就是不想设置chromedriver的环境变量

我这里有2个错,第一个:webdriver.Chrome中Chrome中的c被我小写了,这里要大写,我是工具自动联想出来的选了其中一个小写的。

Message: 'chromedriver.exe' executable needs to be in PATH. Please see https_第1张图片

第2个问题:chromedriver的路径不对,放在了F:\Visual2017Shared\Python36_64\Scripts下面,应该放在F:\Visual2017Shared\Python36_64下

Message: 'chromedriver.exe' executable needs to be in PATH. Please see https_第2张图片

你可能感兴趣的:(selenium)