Closed majusmisiak closed 3 months ago
This is the same issue as https://github.com/bonigarcia/webdrivermanager/issues/1297 (unresolved)
https://msedgewebdriverstorage.blob.core.windows.net/edgewebdriver/126.0.2592.113/edgedriver_
I am also facing the same the strange part is when i am executing the code from eclipse with the same configuration its working fine. Where as if i am executing the code from my linux or jenkin job its failing.
Thanks for reporting. Indeed, there was a problem resolving the latest version of msedgedriver in non Windows hosts. I have fixed the issue in the master branch. I will release a new version of WebDriverManager with the fix soon.
This problem should be fixed in WebDriverManager 5.9.2, just released.
Hi,
Thanks for providing the fix. After updating to 5.9.2. I got below exception:
org.openqa.selenium.SessionNotCreatedException:
session not created
from unknown error: cannot find msedge binary
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'AP-5CG3430ZL2', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.15.153.1-microsoft-standard-WSL2', java.version: '11.0.23'
Driver info: driver.version: EdgeDriver
remote stacktrace: #0 0x55d7d6f76f3e
Thanks.
That (org.openqa.selenium.SessionNotCreatedException
) is a Selenium exception, not WebDriverManager. The error message (cannot find msedge binary
) says Edge is not available, maybe it is not installed.
Description of the problem:
We are running MS Edge tests on Linux OS.
Microsoft sometimes publishes different architectures (different builds) of the same version of EdgeDriver at different times. For example right now the latest version for x64 Windows is 126.0.2592.113 but the latest version for Linux and Mac is 126.0.2592.102.
WebDriver manager searches Edge repository, so it will find the latest version - in this case 126.0.2592.113 - even if it does not exist for the given OS / architecture. Afterwards it will try to download the version and fail with HTTP 404.
When this happens tests are failing, until Microsoft publishes the same version for all architectures.
Seems like the edge version resolver should account for the OS / architecture.
Browser and version: Microsoft Edge Version 126.0.2592.102 (Official build) (64-bit)
Operating system and architecture: Linux / Debian 12 Bookworm 64 bit
Selenium version: Selenium 4.20.0
WebDriverManager version 5.9.1
WebDriverManager call:
WebDriverManager.edgedriver().setup();
WebDriverManager traces: