SessionNotCreatedException: Message: session not created: This version of ChromeDriver
only supports Chrome version 114 Current browser version is 118.0.5993.89
谷歌浏览器版本和谷歌驱动版本不匹配导致的问题。
1、首先先去谷歌浏览器驱动下载链接: Chrome for Testing availability
根据对应版本和电脑进行下载到和你谷歌同一位置,注意http status要为200才是正常可用
2、下载解压后
3、把这两个文件复制到......\Python\python3.11.1目录下:
就可正常运行了