selenium.common.exceptions.WebDriverException: Message: 'chromedriver'解决

今天在做selenium测试的时候,可能是很久没用了,直接报了这个异常!
解决办法:
1.确认chrome浏览器版本
2.访问chrome官网下载相应版本的驱动http://chromedriver.storage.googleapis.com/index.html

往下拉

解压分别放到chrome安装目录下和python目录下



重新运行程序

成功

posted @ 2020-07-16 18:09  hisweetyGirl  阅读(10037)  评论(0编辑  收藏  举报