Open alanliew88 opened 1 year ago
In Mac, I can see the edge browser is appearing on the menu bar. However, it crashed after a few seconds.
I can verify this is happening to me. Selenium-Java version 4.7.2, webdrivermanager 5.3.1
Driver msedgedriver 109.0.1518.55
Thank you for reporting this. I have verified that Edge and msedgedriver 109.0.1518.52 work on an intel based Mac. I haven't been able to test on an M1 Mac yet. Adding this to our team's internal backlog for investigation.
Hello, We have the same issue providing the logs below for a Java Project.
Starting Microsoft Edge WebDriver 109.0.1518.49 (a0ba3a09d1b75211882758182c96ccb56aec7b7d) on port 64958 To submit feedback, report a bug, or suggest new features, please visit https://github.com/MicrosoftEdge/EdgeWebDriver
Only local connections are allowed. Please see https://aka.ms/WebDriverSecurity for suggestions on keeping Microsoft Edge WebDriver safe.
Microsoft Edge WebDriver was started successfully. / Caused by: net.thucydides.core.webdriver.DriverConfigurationError: Could not instantiate new WebDriver instance of type class net.thucydides.core.webdriver.ProvidedDriver (Could not instantiate the custom webdriver provider of type mydriver). See below for more details. Caused by: java.lang.RuntimeException: Could not instantiate the custom webdriver provider of type mydriver Caused by: org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: unknown error: Microsoft Edge failed to start: crashed. (unknown error: 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.)
I am also facing this issue, only in Selenium 4 versions
Here are the error message.
Here is my pom.xml
Here is my script :
This is happening when I'm using webdrivermanger and even I declare the path of the webdriver.
What I noticed is that the edgedriver can only run properly when it is in headless mode. (Which is weird)
AB#43012321