Skip to content

Microsoft Edge Browser Setup

Levi Thomason edited this page Mar 29, 2018 · 2 revisions

Running tests in Edge Browser is possible with the aid of the MicrosoftWebDriver.

Getting started

1. Download Microsoft Web Driver - depending on the version of Edge Browser Microsoft Web Driver.

2. Configure the path - either add the path to the Microsoft Web Driver binary to the system PATH or set the location in your nightwatch.json, under the selenium options like so:

"localEdge": {
       selenium_host: "127.0.0.1",
       selenium_port: 4444,
       selenium: {
           start_process: true,
           host: "127.0.0.1",
           port: 4444,
           cli_args: {            
               "webdriver.edge.driver": "C:\\Program Files (x86)\\Microsoft Web Driver\\MicrosoftWebDriver.exe",
           }
       },
        desiredCapabilities: {
           platform: "Windows 10",
           browserName: "MicrosoftEdge",
           javascriptEnabled: true
       }

More Info

For more info about the Microsoft Web driver refer to the Official documentation.