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

Selenium server node failed to start new session for MS edge CHROMIUM #8237

Closed
ShizaTariq18 opened this issue Apr 24, 2020 · 2 comments
Closed

Comments

@ShizaTariq18
Copy link

🐛 Bug Report

Unable to create new service: EdgeDriverService

To Reproduce

Detailed steps to reproduce the behavior:

Expected behavior

A clear and concise description of what you expected to happen.

Test script or set of commands reproducing this issue

edgeOptions.AddAdditionalCapability(CapabilityType.EnableProfiling, true);
edgeOptions.AddAdditionalCapability("BrowserExecutableLocation", "C:\Program Files (x86)\Microsoft\Edge\Application\81.0.416.64\msedge.exe");
edgeOptions.AddAdditionalCapability("UseChromium", "true");
Please provide a test script to reproduce the issue you are reporting, if the
setup is more complex, GitHub repo links with are also OK.

Issues without a reproduction script are likely to stall and eventually be closed.

Environment

OS: Windoe 10
Browser: MS Edge
Browser version: 81.0.416.64
Browser Driver version: 81.0.416.64
Language Bindings version: jdk-14
Selenium Grid version (if applicable): checked both selenium-server-standalone-3.14.0, selenium-server-standalone-3.141.59

@ghost ghost added the needs-triaging label Apr 24, 2020
@fenchu
Copy link

fenchu commented May 13, 2020

MsEdge v80 and higher do not support ChromeOptions() anymore, you have to use EdgeOptions(). For java I do not know, but for python you need to use selenium 4.0.0a5 or newer.

https://docs.microsoft.com/en-us/microsoft-edge/webdriver-chromium

@barancev
Copy link
Member

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.

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
@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.
Projects
None yet
Development

No branches or pull requests

3 participants