MicrosoftEdge / EdgeWebDriver

Feedback and discussions about WebDriver for Microsoft Edge
MIT License
52 stars 7 forks source link

Incompatibility Between Microsoft Edge WebDriver and Browser Version #145

Open helderbrito opened 1 month ago

helderbrito commented 1 month ago

Description: I am experiencing an incompatibility issue between the version of Microsoft Edge WebDriver and the version of the Microsoft Edge browser.

Error Details: This error occurs because the version of Microsoft Edge WebDriver that my application is using only supports Microsoft Edge version 123, but the current browser version is 125.0.2535.51.

pruembeli commented 2 weeks ago

I have the same issue, the system where the automated Test is running is offline and the msedgedriver.exe is deployed with a C# project. When MSEdge gets updated (not under my control) the Driver and Browser are not matching anymore and the Tests will fail. We need a "disableVersionCheck" flag to stay for longer time with the same driver.

pruembeli commented 2 weeks ago

The Flag exists and 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.