- 当报错:
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 83
原因: chrome 和 Chromedriver 版本不对应!
解决方案:
1.查看 chrome 浏览器的版本号的命令:
chrome://version/
image.png
-
也可以在电脑卸载软件出查看真实的版本号
这里选取: 版本号为 :Chrome 78.0.3904.70
chrome 浏览器下载:
https://www.lanzous.com/b138066
https://www.lanzous.com/i6x9zra
Google Chrome v78.0.3904.70 无更新功能版 32位
SHA1:6F1F1D3EEC8053D215558EAEB001FE9DF222F12A
SHA256:CE7A246E1E789E76A0F6DBDACDF1B6ADEF9EDE00F55F8E2341E91C05B201E9E5
http://dl.google.com/release2/chrome/AMM_sCHvUQlajwOCqaT9vdU_78.0.3904.70/78.0.3904.70_chrome_installer.exe
https://dl.google.com/release2/chrome/AMM_sCHvUQlajwOCqaT9vdU_78.0.3904.70/78.0.3904.70_chrome_installer.exe
http://www.google.com/dl/release2/chrome/AMM_sCHvUQlajwOCqaT9vdU_78.0.3904.70/78.0.3904.70_chrome_installer.exe
https://www.google.com/dl/release2/chrome/AMM_sCHvUQlajwOCqaT9vdU_78.0.3904.70/78.0.3904.70_chrome_installer.exe
http://redirector.gvt1.com/edgedl/release2/chrome/AMM_sCHvUQlajwOCqaT9vdU_78.0.3904.70/78.0.3904.70_chrome_installer.exe
https://redirector.gvt1.com/edgedl/release2/chrome/AMM_sCHvUQlajwOCqaT9vdU_78.0.3904.70/78.0.3904.70_chrome_installer.exe
Chromedrive 驱动下载:
http://npm.taobao.org/mirrors/chromedriver/
http://npm.taobao.org/mirrors/chromedriver/78.0.3904.70/
我的电脑右键点击管理 -- 点击 点下服务和应用程序- 服务 -->找到谷歌更新服务
右键谷歌浏览器更新服务,点下停止就关闭自动更新了,如图
网友评论