python问题集

1.selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH

chrome://version/  查看版本

http://chromedriver.storage.googleapis.com/index.html  下载对应版本
环境变量添加---------亲测未成功

解决方案呢就是直接把Chrome driver的可执行文件放在python的项目目录下,然后就可以执行了
原文地址:https://www.cnblogs.com/wangchuang/p/11023324.html