MicrosoftEdge / EdgeWebDriver

Feedback and discussions about WebDriver for Microsoft Edge
MIT License
58 stars 7 forks source link

Unexpected error creating WebSocket DevTools session. #163

Open stefanfranken opened 2 months ago

stefanfranken commented 2 months ago

Hi Max, since latetest Edge Update I´m getting this error: 2024-08-27 13:24:41: Commandline arguments parsed and set 2024-08-27 13:24:41: LogLevel Information 2024-08-27 13:24:44: Starting... 2024-08-27 13:24:44: Application started. Press Ctrl+C to shut down. 2024-08-27 13:24:44: Background Service is working. 27.08.2024 13:24:44 2024-08-27 13:24:44: Hosting environment: Production 2024-08-27 13:24:44: Content root path: C:\Downloads\DWHelper-standalone_1.0.7 2024-08-27 13:24:44: Config path: C:\Downloads\DWHelper-standalone_1.0.7 2024-08-27 13:24:44: Default configuration loaded 2024-08-27 13:24:47: Get access token, opening Edge 2024-08-27 13:24:47: Your Edge version: 128 2024-08-27 13:24:47: Matching edge version with edge driver 2024-08-27 13:24:47: Current version 127.0.2651.105, Edge Version 128.0.2739.42 - downloading matching driver... 2024-08-27 13:24:48: Edge driver download completed. 2024-08-27 13:24:49: Starting Microsoft Edge WebDriver 128.0.2739.42 (e015505d79c9432c75e2a9131c445776c61af592) on port 1809 2024-08-27 13:24:49: To submit feedback, report a bug, or suggest new features, please visit https://github.com/MicrosoftEdge/EdgeWebDriver 2024-08-27 13:24:49: Only local connections are allowed. 2024-08-27 13:24:49: Please see https://aka.ms/WebDriverSecurity for suggestions on keeping Microsoft Edge WebDriver safe. 2024-08-27 13:24:49: Microsoft Edge WebDriver was started successfully. 2024-08-27 13:24:49: msedgedriver was started successfully on port 1809. 2024-08-27 13:24:53: ERROR 2024-08-27 13:24:53: OpenQA.Selenium.WebDriverException: Unexpected error creating WebSocket DevTools session. 2024-08-27 13:24:53: ---> OpenQA.Selenium.WebDriverException: DevTools version is not in the supported range. Desired version=128, range=5. Supported versions: 123, 122, 121, 85 2024-08-27 13:24:53: at OpenQA.Selenium.DevTools.DevToolsDomains.MatchDomainsVersion(Int32 desiredVersion, Int32 versionRange) 2024-08-27 13:24:53: at OpenQA.Selenium.DevTools.DevToolsDomains.InitializeDomains(Int32 protocolVersion, DevToolsSession session, Int32 versionRange) 2024-08-27 13:24:53: at OpenQA.Selenium.DevTools.DevToolsDomains.InitializeDomains(Int32 protocolVersion, DevToolsSession session) 2024-08-27 13:24:53: at OpenQA.Selenium.DevTools.DevToolsSession.StartSession() 2024-08-27 13:24:53: at OpenQA.Selenium.Chromium.ChromiumDriver.<>c__DisplayClass34_0.<<GetDevToolsSession>b__0>d.MoveNext() 2024-08-27 13:24:53: --- End of stack trace from previous location --- 2024-08-27 13:24:53: at OpenQA.Selenium.Chromium.ChromiumDriver.GetDevToolsSession(DevToolsOptions options) 2024-08-27 13:24:53: --- End of inner exception stack trace --- 2024-08-27 13:24:53: at OpenQA.Selenium.Chromium.ChromiumDriver.GetDevToolsSession(DevToolsOptions options) 2024-08-27 13:24:53: at OpenQA.Selenium.Chromium.ChromiumDriver.GetDevToolsSession() 2024-08-27 13:24:53: at DWLibary.EdgeUniversal.getToken() in C:\Users\maxhentschel\source\repos\Dual-write-automationsv2\DWLibary\EdgeUniversal.cs:line 117 2024-08-27 13:24:53: at DWHelper.AppExecution.checkEdgeVersionAndRetrieveToken() in C:\Users\maxhentschel\source\repos\Dual-write-automationsv2\DualWriteHelper\AppExecution.cs:line 181 2024-08-27 13:24:53: at DWHelper.AppExecution.run() in C:\Users\maxhentschel\source\repos\Dual-write-automationsv2\DualWriteHelper\AppExecution.cs:line 89 2024-08-27 13:24:53: Application is shutting down... 2024-08-27 13:24:53: Application stopped successful without errors!