This version of ChromeDriver only supports Chrome version 91 Current browser version is

错误描述

selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 91
Current browser version is 102.0.5005.115 with binary path C:\Users\mym\AppData\Local\Google\Chrome\Application\chrome.exe

解释

ChromeDriver 支持的 chrome 版本是91
而当前 chrome 浏览器的版本是 102.0.5005.115
所以版本不匹配

解决

下载支持 chrome 102.0.5005.115 版本的 ChromeDriver

下载地址:
https://registry.npmmirror.com/binary.html?path=chromedriver/

安装方式:
https://www.malaoshi.top/show_1IX1V18OUfoV.html


原文出处:https://malaoshi.top/show_1IX3Yz0EbAoV.html