Skip to content

[🐛 Regression,Edge]: Edge Driver will not start on Linux #14302

Description

@lprimak

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    G-msedgedriverRequires fixes in MSEdgeDriverI-questionApplied to questions. Issues should be closed and send the user to community resources.J-loggingApplied to issues where logging information would help troubleshoot

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions