Lagos, Nigeria
info@ezefidelity.com

How to fix Microsoft Edge WebDriver unknown error


Keep in mind that this solution works only with Python scripts.

Few users reported that this method works only if User Account Control is enabled, and you can do that by following these steps:

  1. Press Windows Key + S and enter the user account. Select Change User Account Control settings from the search results.
     change user account control settings microsoft edge webdriver unknown error
  2. Move the slider to the recommended position and click OK to save changes.
    adjust user account control settings microsoft edge webdriver unknown error
  3. Restart your computer.

After doing that, the problem with the WebDriver will be resolved.


5. Use the verbose parameter

verbose paramter microsoft edge webdriver unknown error
  1. Open Command Prompt and run the following command:
     msedgedriver.exe --verbose 
  2. Now run the script normally in other Command Prompt:

const Selenium = require("selenium-webdriver");

const BROWSER_NAME = Selenium.Browser.EDGE;

const builder = new Selenium.Builder().forBrowser(BROWSER_NAME)

.withCapabilities({

        "browserName": 'MicrosoftEdge',

        "browserVersion": '81.0',

        "platformName": 'Windows 10',

        'ms:edgeChromium': true

    }).usingServer('http://localhost:9515')

const driver = builder.build()

Keep in mind that this solution works only if you’re using Selenium.

Microsoft Edge WebDriver unknown error message can cause a lot of problems for the developers, but you should be able to fix it using our solutions.



This post was written by Milan Stanojevic and was first posted to WindowsReport

Tags: , ,

%d bloggers like this: