报错:selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 86
Current browser version is 88.0.4324.104 with binary path C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
原因:因为浏览器版本更新,导致系统之前所下载的驱动版本与浏览器不一致
解决:
1.在浏览器地址栏输入:chrome://version/
查询当前谷歌浏览器的版本号
2.谷歌浏览器驱动下载地址:https://chromedriver.storage.googleapis.com/index.html
选择与使用的谷歌浏览器相对应的版本号进行下载
3.下载解压后放在D盘目录下,替换掉之前的浏览器驱动