-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Microsoft Edge WebDriver 115+ fails to launch browser with "cannot find msedge binary" on Linux #102
Comments
I faced the same issue with Edge Version 115. |
Same issue with Edge 115, downgrade to 114 mitigates for now. |
Thank you for reporting this. I've added it to our internal backlog for investigation. |
I noticed that msedgedriver 115.0.1901.203 on Linux actually launches I hope that helps! |
Work around MicrosoftEdge/EdgeWebDriver#102, in which Linux versions of msedgedriver launch Chrome instead of Edge starting with version 115. For now, driver version 114 is working for Edge 115 on Linux. This does not appear to affect other platforms.
For now, all our automation will have to use msedgedriver 114 for any Edge version 115+. (See shaka-project/webdriver-installer#32) I suspect this will not be a viable workaround forever, since newer Edge releases might not be able to communicate with older drivers if something in the protocol changes. Please let us know if we can expect a fix before that happens. Thanks! |
Work around MicrosoftEdge/EdgeWebDriver#102, in which Linux versions of msedgedriver launch Chrome instead of Edge starting with version 115. For now, driver version 114 is working for Edge 115 on Linux. This does not appear to affect other platforms.
@joeyparrish Thank you for your additional information. Also, thanks to actions/runner-images#8046 I learned that the previous version 115.0.1901.183 works well for Edge 115. It can be another workaround. But as for Edge 116+, I have the same concern with #102 (comment). I hope it will be fixed soon. |
@bwalderman Is there any update? I've confirmed that the latest version 116.0.1938.69 still has the same problem. |
Edge 116 is out on GitHub VMs, and the workaround of using driver version 114 no longer works:
Feeling good about my prediction 3 weeks ago that 116 could break things... Any comment from Microsoft on the observation that msedgedriver wants to run Another workaround that still works: In your capabilities request, specify |
For a better workaround, specify the path to the Edge binary in your capabilities request with: "ms:edgeOptions": {"binary": "/usr/bin/microsoft-edge"} See also MicrosoftEdge/EdgeWebDriver#102 (comment)
Specify the explicit path to microsoft-edge if found, to work around MicrosoftEdge/EdgeWebDriver#102 (comment) This also incorporates shaka-project/webdriver-installer#35 to revert a previous workaround at that level.
Specify the explicit path to microsoft-edge if found, to work around MicrosoftEdge/EdgeWebDriver#102 (comment) This also incorporates shaka-project/webdriver-installer#35 to revert a previous workaround at that level.
Specify the explicit path to microsoft-edge if found, to work around MicrosoftEdge/EdgeWebDriver#102 (comment) This also incorporates shaka-project/webdriver-installer#35 to revert a previous workaround at that level.
Specify the explicit path to microsoft-edge on Linux if found, to work around MicrosoftEdge/EdgeWebDriver#102 (comment) This also incorporates shaka-project/webdriver-installer#35 and shaka-project/karma-local-wd-launcher#60 to revert earlier workarounds and apply new ones for local test runs.
Specify the explicit path to microsoft-edge on Linux if found, to work around MicrosoftEdge/EdgeWebDriver#102 (comment) This also incorporates shaka-project/webdriver-installer#35 and shaka-project/karma-local-wd-launcher#60 to revert earlier workarounds and apply new ones for local test runs.
Specify the explicit path to microsoft-edge on Linux if found, to work around MicrosoftEdge/EdgeWebDriver#102 (comment) This also incorporates shaka-project/webdriver-installer#35, shaka-project/karma-local-wd-launcher#60, and shaka-project/karma-local-wd-launcher#62 to revert earlier workarounds and apply new ones for local test runs.
Specify the explicit path to microsoft-edge on Linux if found, to work around MicrosoftEdge/EdgeWebDriver#102 (comment) This also incorporates shaka-project/webdriver-installer#35, shaka-project/karma-local-wd-launcher#60, and shaka-project/karma-local-wd-launcher#62 to revert earlier workarounds and apply new ones for local test runs.
Specify the explicit path to microsoft-edge on Linux if found, to work around MicrosoftEdge/EdgeWebDriver#102 (comment) This also incorporates shaka-project/webdriver-installer#35, shaka-project/karma-local-wd-launcher#60, and shaka-project/karma-local-wd-launcher#62 to revert earlier workarounds and apply new ones for local test runs.
Just to highlight that this combination still works:
...but probably only until Edge 117. It seems that whatever was changed in driver version 115.0.1901.188 caused this. Any chance of reviewing those changes and maybe reverting the one that is causing this? |
facing same issue for edge driver version 117.0.2045.35 |
Hi folks. Sorry for the delays in addressing this. We've fixed the issue in msedgedriver and the fix will be available on the Edge Canary channel within a day or two. We're also working to backport this change to the Beta and Stable channels, which will take an additional few days. Until the fix lands, you can work around this issue on Linux by setting the browser binary location in your EdgeOptions to |
Good day! |
Specify the explicit path to microsoft-edge on Linux if found, to work around MicrosoftEdge/EdgeWebDriver#102 (comment) This also incorporates shaka-project/webdriver-installer#35, shaka-project/karma-local-wd-launcher#60, and shaka-project/karma-local-wd-launcher#62 to revert earlier workarounds and apply new ones for local test runs. # Conflicts: # build/shaka-lab.yaml # package-lock.json # package.json
Specify the explicit path to microsoft-edge on Linux if found, to work around MicrosoftEdge/EdgeWebDriver#102 (comment) This also incorporates shaka-project/webdriver-installer#35, shaka-project/karma-local-wd-launcher#60, and shaka-project/karma-local-wd-launcher#62 to revert earlier workarounds and apply new ones for local test runs. # Conflicts: # build/shaka-lab.yaml # package-lock.json # package.json
* ci: Fix Chrome tests on Windows in GitHub Actions (shaka-project#5548) GitHub started installing "Chrome for Testing" builds on Windows and Mac. Unfortunately, these builds don't have support for H264 and AAC codecs, which we need in our tests. This fixes the issue by explicitly installing an official build of Chrome on Windows, to overwrite the "Chrome for Testing" build. # Conflicts: # .github/workflows/build-and-test.yaml * ci: Work around msedgedriver 115+ bug (shaka-project#5618) Specify the explicit path to microsoft-edge on Linux if found, to work around MicrosoftEdge/EdgeWebDriver#102 (comment) This also incorporates shaka-project/webdriver-installer#35, shaka-project/karma-local-wd-launcher#60, and shaka-project/karma-local-wd-launcher#62 to revert earlier workarounds and apply new ones for local test runs. # Conflicts: # build/shaka-lab.yaml # package-lock.json # package.json --------- Co-authored-by: Joey Parrish <joeyparrish@users.noreply.github.com>
Any updates on this? This issue really blocks us from using Edge > 114 version |
Any updates on this guys? It's being broke for more than a month already. @jayhome I tried to pull selenium node edge, integrate in a CI/CD environment, it didn't fix the error 'E selenium.common.exceptions.WebDriverException: Message: unknown error: unrecognized Microsoft Edge version: Chrome/117.0.5938.0'. |
Specify the explicit path to microsoft-edge on Linux if found, to work around MicrosoftEdge/EdgeWebDriver#102 (comment) This also incorporates shaka-project/webdriver-installer#35, shaka-project/karma-local-wd-launcher#60, and shaka-project/karma-local-wd-launcher#62 to revert earlier workarounds and apply new ones for local test runs.
Summary
Microsoft Edge WebDriver 115 itself successfully starts, but when I start a session with it, it cannot launch Microsoft Edge browser and stops at the error like
Environment
I confirmed that the problem doesn't happen on Windows and macOS.
Also, it doesn't happen on Ubuntu with Driver Version 114.0.1823.82.
How to reproduce
I was able to reproduce the problem on a Docker container with image
ubuntu:20.04
.Here, I've got the error message described above.
I've confirmed the browser is surely installed by the following command (I've got
Microsoft Edge 115.0.1901.188
).Next, I've checked the behavior of Driver Version 114.0.1823.82.
I've got another error message, but this is because I've not set up the other required components like Xvfb. At least, the browser tried to launch once. So the problem is limited within version 115.
Other
I guess this issue is similar to https://bugs.chromium.org/p/chromium/issues/detail?id=1466427 where ChromeDriver couldn't find Chrome binary (the issue was limited to macOS, though).
When we tried Microsoft Edge WebDriver 115 where both MicroSoft Edge and Chrome exist, we've got a different error message.
AB#45872325
The text was updated successfully, but these errors were encountered: