EdgeWebDriver icon indicating copy to clipboard operation
EdgeWebDriver copied to clipboard

Incompatibility Between Microsoft Edge WebDriver and Browser Version

Open helderbrito opened this issue 1 year ago • 2 comments

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.

helderbrito avatar May 24 '24 17:05 helderbrito

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 avatar Jun 24 '24 17:06 pruembeli

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.

pruembeli avatar Jun 25 '24 14:06 pruembeli