Microsoft Edge 版本与 MSEdgeDriver 版本的兼容性问题 (84,85,86)

Issue with Microsoft’s Edge version’s compatibility with MSEdgeDriver version(84,85,86)

我从 https://www.microsoft.com/en-us/edge, but I am not able to make it work with selenium. It appears that selenium’s Edger drivers in (https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/ 下载了最新的 version:83.0.478.61(官方版本)(64 位)Edge)仅适用于 Edge 版本 86、85 和 84!如果最新版本的 MS Edge 浏览器是 83,为什么有用于 Edge 版本 84、85 或 86 的 Selenium Edge 驱动程序版本?我用我最新的边缘浏览器尝试了所有 3 个驱动程序并得到了类似的错误。有没有办法绕过这个或下载 Edge 浏览器版本 84、85 或 86?

  1. 消息:OneTimeSetUp:System.InvalidOperationException:未创建会话:此版本的 MSEdgeDriver 仅支持 MSEdge 版本 84 (SessionNotCreated)

  2. 消息:OneTimeSetUp:System.InvalidOperationException:未创建会话:此版本 MSEdgeDriver 仅支持 MSEdge 版本 85 (SessionNotCreated)

  3. 消息:OneTimeSetUp:System.InvalidOperationException:未创建会话:此版本的 MSEdgeDriver 仅支持 MSEdge 86 版(SessionNotCreated)

why there are versions of Selenium Edge driver for Edge versions 84, 85, or 86?

因为Edge的最新version:83.0.478.61(正式版)(64位)刚好是最新的稳定版本。还有其他版本的 Edge Chromium 版本号更高,例如 Edge Canary 版本 86.0.572.0:

Is there a way to bypass this or download Edge browser versions 84, 85, or 86?

如果您仍想使用 Edge 稳定版 83.0.478.61,可以在 this link 下载 83.0.478.61 Edge WebDriver:

如果要下载比稳定版更高的Edge浏览器版本,可以查看this link

Is there a way to bypass this or download Edge browser versions 84, 85, or 86?

如果您使用的是 .NET 并通过 Nuget 包下载驱动程序 Selenium.WebDriver.MSEdgeDriver,只需下载正确的版本(不需要最新版本)