Skip to content
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

Chromium-based Edge in Selenium 3 #8993

Closed
joeyparrish opened this issue Dec 22, 2020 · 2 comments
Closed

Chromium-based Edge in Selenium 3 #8993

joeyparrish opened this issue Dec 22, 2020 · 2 comments

Comments

@joeyparrish
Copy link

🚀 Feature Proposal

I propose to send a PR to add Chromium-based Edge support to Selenium 3.

Motivation

Selenium 4 isn't ready yet, and it's not clear when it will be ready for use. Meanwhile, legacy Edge is no longer supported by Microsoft. Everyone testing on Edge should be testing the new Chromium-based Edge.

We have a Selenium 3 grid that is part of critical testing infrastructure for our project, and Edge is a critical platform. We are currently unable to test in the new Chromium-based Edge. Microsoft has WebDriver servers available, so it's unclear why there should be any problem using these in Selenium 3.

If anyone can outline the differences between what Selenium 3 does today and what Selenium 4 does differently to communicate with the new drivers, I can start working on a PR to address this critical gap in Selenium 3.

@ghost ghost added the needs-triaging label Dec 22, 2020
@joeyparrish
Copy link
Author

Also, I meant to mention this in the original post, but I've seen #8237 (comment), where @barancev said:

Sorry, but we're not going to backport Edgium support to Selenium v.3, please wait for a stable version of Selenium 4 or try the current alpha.

I would completely understand you not wanting to devote resources to updating Selenium 3 while you focus on Selenium 4, but Selenium 3 is the only stable Selenium grid available to us as users, and Microsoft Edge is important. If you don't want to devote your own resources to it, could you please provide some minimal guidance and allow contributors from the community work on this issue?

joeyparrish added a commit to shaka-project/generic-webdriver-server that referenced this issue Dec 22, 2020
In a comment from April 2020 [1], the Selenium maintainers said that
they would not support Chromium-based Edge in Selenium 3.  They
instead suggested waiting for a stable version of Selenium 4.
However, as of December 2020, there is no release date in sight for
Selenium 4, Chromium-based Edge is the only version of Edge actively
supported by Microsoft since August 2020, and legacy Edge will reach
end-of-life status in March 2021 [2].

Thankfully, Generic WebDriver Server is generic enough to handle this
case.  We can use it to configure Selenium 3 to respond to Edge and
use Microsoft's `msedgedriver.exe` as a backend executable.

See also SeleniumHQ/selenium#8993

[1]: SeleniumHQ/selenium#8237 (comment)
[2]: https://techcommunity.microsoft.com/t5/microsoft-365-blog/microsoft-365-apps-say-farewell-to-internet-explorer-11-and/ba-p/1591666
@diemol
Copy link
Member

diemol commented Dec 22, 2020

@joeyparrish, there is no need for a PR (well, since the code for Grid 3 is gone from the tree already).

The good news is that you can use the new Edge Chromium with Grid 3, I know it is not working out of the box (which is what we meant by not backporting), but a slight change in the configuration allows you to use the new Edge in your current setup. I replied to this a while ago in a different issue, the details can be seen here.

If you'd like to try Alpha 7 of Selenium Grid 4, and you are bumping into issue, please create an issue or drop by our Slack/IRC channel, we'd be happy to help there. Link to the channel can be seen here -> https://www.selenium.dev/support/

@diemol diemol closed this as completed Dec 22, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Sep 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants