selenium.common.exceptions.WebDriverException: Message: ‘chromedriver‘
原因:selenium模拟的客户端对浏览器的操作,但相应浏览器的驱动版本不匹配导致解决:1、打开浏览器,在地址栏输入chrome://version/便可以查看到谷歌当前的版本号2、来到谷歌浏览器驱动的下载网址http://chromedriver.storage.googleapis.com/index.html3、下载对应的zip包4、解压后是.exe的执行文件,要放在下面两个路径 一个是python安装路径 一个是chrome浏览...
原创
2021-08-12 14:41:39 ·
197 阅读 ·
1 评论