WebDriverManager.Net
WebDriverManager.Net copied to clipboard
Edge on Linux support
WebDriverManager version: 2.13.0
WebDriverManager
with EdgeConfig
throws PlatformNotSupportedException
on Linux.
Please add Linux support for edgedriver.
It seems the driver for Edge in Linux is not managed with WebDriverManager.Net version 2.14.1. The following tests:
[TestMethod]
public void EdgeSession()
{
new DriverManager().SetUpDriver(new EdgeConfig());
var driver = new EdgeDriver();
driver.Quit();
}
... produces the following error on (Ubuntu 20.04.4):
Failed EdgeSession [148 ms]
Error Message:
Test method SeleniumDocs.GettingStarted.InstallDriversTest.EdgeSession threw exception:
OpenQA.Selenium.DriverServiceNotFoundException: The msedgedriver file does not exist in the current directory or in a directory on the PATH environment variable. The driver can be downloaded at https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/.
Stack Trace:
at OpenQA.Selenium.DriverService.FindDriverServiceExecutable(String executableName, Uri downloadUrl)
at OpenQA.Selenium.Edge.EdgeDriverService.CreateDefaultService()
at OpenQA.Selenium.Edge.EdgeDriver..ctor(EdgeOptions options)
at OpenQA.Selenium.Edge.EdgeDriver..ctor()
at SeleniumDocs.GettingStarted.InstallDriversTest.EdgeSession() in /home/boni/dev/seleniumhq.github.io/examples/dotnet/SeleniumDocs/GettingStarted/InstallDriversTest.cs:line 29
We're running Edge tests under Ubuntu too (like this GHA run, and the test results here - look for BasicVisualVerificationTests
). Check out our workarounds for Edge in this class, especially here.
Didn't you address this with https://github.com/rosolko/WebDriverManager.Net/commit/a88cd6cad17dda18e535554dc6a598d651a0fe4b, @rosolko?
@Piedone Yes, I did, thanks!
Implemented in 2.15.0 version
Hi @rosolko ,
Thank you!