You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error occurs when performing the operation as subject. (I believe the problem is specific to the Edge side, as it was not reproduced with the Chrome Driver)
My environment is as follows.
OS: Windows11
Selenium: 4.10.0
Edge: 119.0.2151.72
Edge Driver: 119.0.2151.32
Below is the log.
org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: session not created: Microsoft Edge failed to start: exited normally. (session not created: DevToolsActivePort file doesn't exist) (The process started from msedge location C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe is no longer running, so msedgedriver is assuming that msedge has crashed.) Host info: host: 'DESKTOP-TBM0T59', ip: '192.168.0.39'Build info: version: '4.10.0', revision: 'c14d967899'System info: os.name: 'Windows 11', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.14.1'Driver info: org.openqa.selenium.edge.EdgeDriverCommand: [null, newSession {capabilities=[Capabilities {browserName: MicrosoftEdge, ms:edgeOptions: {args: [--start-maximized, --user-data-dir=C:\Users\su...], extensions: [], prefs: {user_experience_metrics: {personalization_data_consent_enabled: true}}}, ms:ms:loggingPrefs: org.openqa.selenium.logging...}]}]
org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:140)
org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:96)
org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:68)
org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:163)
org.openqa.selenium.remote.service.DriverCommandExecutor.invokeExecute(DriverCommandExecutor.java:196)
org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:171)
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:531)
org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:227)
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:154)
org.openqa.selenium.chromium.ChromiumDriver.<init>(ChromiumDriver.java:107)
org.openqa.selenium.edge.EdgeDriver.<init>(EdgeDriver.java:59)
org.openqa.selenium.edge.EdgeDriver.<init>(EdgeDriver.java:55)
org.openqa.selenium.edge.EdgeDriver.<init>(EdgeDriver.java:47)
Thanks.
The text was updated successfully, but these errors were encountered:
Hi @YoheiSuda2. It looks like Edge is crashing during startup. I will need some more info to investigate further. Are you able to share a short code sample / minimal website that reproduces the issue?
I'm too busy to provide a sample, so I'll give you the details of the current situation.
Simply passing "C\Users{user}\AppData\Local\Microsoft\Edge\User Data "to --user-data-dir causes a crash, which is reproduced in my environment.
I can work around it by passing "C\Users{user}\AppData\Local\Microsoft\Edge\User Data\Default", but I am unable to specify directly under User Data as before.
Selenium is used in Java 11.
If necessary, we will create a sample and provide it to you after the new year.
The error occurs when performing the operation as subject. (I believe the problem is specific to the Edge side, as it was not reproduced with the Chrome Driver)
My environment is as follows.
OS: Windows11
Selenium: 4.10.0
Edge: 119.0.2151.72
Edge Driver: 119.0.2151.32
Below is the log.
Thanks.
The text was updated successfully, but these errors were encountered: