E selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 96
E Current browser version is 101.0.4951.67 with binary path C:Program FilesGoogleChromeApplicationchrome.exe
谷歌浏览器版本自动更新,chromedriver版本未更新
解决办法:手动更新chromedriver版本
执行步骤:查看谷歌浏览器版本->浏览器更多-帮助->关于
下载对应版本驱动
下载版本:http://chromedriver.storage.googleapis.com/index.html
选择32位windows进行下载
下载后解压缩
将解压缩文件复制到谷歌浏览器文件夹中,替换之前驱动文件
Python39文件中内容:
验证过程:cmd ->chomedriver
不让chrome自动更新版本



