selenium: [๐ Regression,Edge]: Edge Driver will not start on Linux
What happened?
Selenium Manager / Edge driver download is broken:
java.lang.RuntimeException:
Unable to instantiate Drone via org.openqa.selenium.edge.EdgeDriver(EdgeDriverService,EdgeOptions): org.openqa.selenium.remote.NoSuchDriverException: Unable to obtain: msedgedriver, error Command failed with code: 65, executed: [--browser, MicrosoftEdge, --language-binding, java, --output, json]
Unable to discover MicrosoftEdge in online repository
Build info: version: '4.23.0', revision: '4df0a231af'
System info: os.name: 'Linux', os.arch: 'aarch64', os.version: '5.15.0-208.159.3.el9uek.aarch64', java.version: '22.0.2'
Driver info: driver.version: EdgeDriver
Caused by: org.openqa.selenium.remote.NoSuchDriverException: Unable to obtain: msedgedriver, error Command failed with code: 65, executed: [--browser, MicrosoftEdge, --language-binding, java, --output, json]
Unable to discover MicrosoftEdge in online repository
Build info: version: '4.23.0', revision: '4df0a231af'
System info: os.name: 'Linux', os.arch: 'aarch64', os.version: '5.15.0-208.159.3.el9uek.aarch64', java.version: '22.0.2'
Driver info: driver.version: EdgeDriver
at org.openqa.selenium.remote.service.DriverFinder.getBinaryPaths(DriverFinder.java:121)
at org.openqa.selenium.remote.service.DriverFinder.getDriverPath(DriverFinder.java:55)
at org.openqa.selenium.edge.EdgeDriver.generateExecutor(EdgeDriver.java:71)
at org.openqa.selenium.edge.EdgeDriver.<init>(EdgeDriver.java:60)
at org.openqa.selenium.edge.EdgeDriver.<init>(EdgeDriver.java:56)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
at org.jboss.arquillian.drone.webdriver.factory.SecurityActions.newInstance(SecurityActions.java:144)
... 11 more
Caused by: org.openqa.selenium.WebDriverException: Command failed with code: 65, executed: [--browser, MicrosoftEdge, --language-binding, java, --output, json]
Unable to discover MicrosoftEdge in online repository
Build info: version: '4.23.0', revision: '4df0a231af'
System info: os.name: 'Linux', os.arch: 'aarch64', os.version: '5.15.0-208.159.3.el9uek.aarch64', java.version: '22.0.2'
Driver info: driver.version: EdgeDriver
at org.openqa.selenium.manager.SeleniumManager.runCommand(SeleniumManager.java:170)
at org.openqa.selenium.manager.SeleniumManager.getBinaryPaths(SeleniumManager.java:247)
at org.openqa.selenium.remote.service.DriverFinder.getBinaryPaths(DriverFinder.java:102)
... 18 more
Also happens on Intel architecture with Java 17:
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '5.15.0-1057-aws', java.version: '17.0.11'
How can we reproduce the issue?
Run any test without Edge being downloaded into the `.cache` directory or installed locally on machine.
This only breaks on Linux, not Mac.
Relevant log output
Already described
Operating System
Linux
Selenium version
Java 22, Selenium 4.23.0
What are the browser(s) and version(s) where you see this issue?
Edge
What are the browser driver(s) and version(s) where you see this issue?
EdgeDriver
Are you using Selenium Grid?
N/A
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 21 (8 by maintainers)
I reported this problem here https://github.com/MicrosoftEdge/EdgeWebDriver/issues/159 (although I am not sure if this is the right tracker for this kind of issues).
I suspect that the format/content of the JSON returned is causing this failure.
โฆ as I can fetch JSON data from the URL that
selenium-manageris failing at:Is this sufficient logging to open this issue?
@diemol please reopen this issue. I am not the only one who is having it and itโs likely not an โoperator errorโ
thank you.