Skip to content
Advertisement

Selenium Edge WebDriver (Chromium) – session not created: No matching capabilities found

I’m trying to run a Selenium test with Java and Edge driver (based on Chromium).

The version of my Edge Dev installed on Windows 10 is 83.0.478.37 (Official build dev 64-bit):

Selenium Version : 3.141.59

I’m using webdrivermanager setup for this and used the example provided here.

I tried many options it includes without using webdriver manager but still gives the error.

Without Using Webdriver Manager

JavaScript

AND followed other solutions from here

Am i missing something?

The error stack trace below –

JavaScript

Advertisement

Answer

Fixed it with little tweaks, and used the WebdriverManager.

Observed an issue with WebdriverManager, it is downloading a different version of edgedriver and eventually it is failing because of the driver/browser incompatibility.

Check the browser version against the available driver version. If both are different, set the edge driver version like below.

In my scenario – Edge Browser Version is 84.0.522.49 but its downloading 84.0.524.0

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement