selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version

问题背景

selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 89
Current browser version is 107.0.5304.107 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe

图片[1] - selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version - 三酷猫笔记

原因分析

ChromeDriver驱动版本不支持谷歌浏览器版本,下载与浏览器匹配的驱动版本即可

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

问题解决

图片[2] - selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version - 三酷猫笔记
© 版权声明
THE END
喜欢就支持一下吧
点赞15 分享