我在自动化测试方面遇到问题,我在我的机器上更新了 Chrome,其中一台安装了 Windows 11 专业版,另一台安装了 Windows 10 专业版。我从
https://googlechromelabs.github.io/chrome-for-testing/
下载了驱动程序,并下载了 chromedriver win64,以及 Mac 机器和其他浏览器...
现在在 Mac 中没有问题,在 Windows 10 Pro 中没有问题,在 Windows 11 Pro 中我有这个错误
SessionNotCreatedException: Message: session not created: This version of
ChromeDriver only supports Chrome version 114
Current browser version is 116.0.5845.97
目前,我使用的是 Selenium 4.10.0
有什么建议吗?
我在网上也找不到解决方案,所以我尝试手动更新。
这是我的步骤: