找不到116版本驱动:ChromeDriver only supports Chrome version 102.Current browser version is 116.0.5845.188

场景

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

问题描述

本来这个报错很好解决,直接下载一个116版本的ChromeDriver就行了https://chromedriver.storage.googleapis.com/index.html
但是呢,尴尬的就是没找到116.0.5845.188版本的,最新的也是114的版本
在这里插入图片描述

解决方案:

最后还是在网上找到了资源
https:\edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/116.0.5845.96/win64/chromedriver-win64.zip

posted @ 2023-09-21 10:42  ElaineTiger  阅读(99)  评论(0)    收藏  举报  来源