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

This version of Microsoft Edge WebDriver only supports Microsoft Edge version 122 #143

Open
Stefanczc opened this issue May 8, 2024 · 4 comments
Labels
feedback Feedback, discussion, or question about EdgeDriver

Comments

@Stefanczc
Copy link

Hello!
I am trying to run my usual test cases in wedriverIO using Microsoft Edge browser.
Since the latest Microsoft Edge update, I keep getting this error:
'2024-05-08T07:56:37.941Z ERROR @wdio/runner: Error: Failed to create session.
[0-0] session not created: This version of Microsoft Edge WebDriver only supports Microsoft Edge version 122
[0-0] Current browser version is 124.0.2478.80 with binary path C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe'

I have tried all sort of solutions found online but I am unable to make this work.
Any idea what might cause this or how to deal with it ?
If you need more details, please let me know.
Thanks in advance.

@Stefanczc Stefanczc added the feedback Feedback, discussion, or question about EdgeDriver label May 8, 2024
@david-pulkowski
Copy link

For our use cases, when we are two versions behind we get the same error.
Update your Edge driver to be the same as 124 or only 1 version behind.
(Same issue will happen for chrome)

The error says your browser is 124, yet your webdriver is 122.
Update to 124 and you should be good. (or update to whatever version your current edge version is)

@jbakeri4
Copy link

@Stefanczc Are you using Selenium, by any chance? They recently released v4.21.0. I updated its Maven dependency in my Java project to reflect this and I do not encounter the error shown in your post.

@pruembeli
Copy link

The Edge browser is getting an update like every week, the driver should be more tolerant and accept all version until a breaking change happened - or add a "ignoreVersion" option to the driver.

@pruembeli
Copy link

I got it running without version check exception like this:

`var service = EdgeDriverService.CreateDefaultService(localPath);
service.DisableBuildCheck = true;

var options = new EdgeOptions();
options.AddArgument("--allow-running-insecure-content");
options.AddArgument("--ignore-certificate-errors");

var driver = new EdgeDriver(service, options);`

I tried it before with option "--disable-build-check" but that didn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feedback Feedback, discussion, or question about EdgeDriver
Projects
None yet
Development

No branches or pull requests

4 participants