-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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.
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
}
For more info about the Microsoft Web driver refer to the Official documentation.