diff --git a/guide/browser-drivers/edgedriver.md b/guide/browser-drivers/edgedriver.md index da467767..a9237e46 100644 --- a/guide/browser-drivers/edgedriver.md +++ b/guide/browser-drivers/edgedriver.md @@ -33,6 +33,30 @@ Run your Nightwatch.js tests in Edge can be achieved using the [Microsoft Edge } +Alternatively, add the server_path in the "edge" configuration: +
+ edge: {
+ desiredCapabilities: {
+ browserName: 'MicrosoftEdge',
+ 'ms:edgeOptions': {
+ w3c: true,
+ // More info on EdgeDriver: https://docs.microsoft.com/en-us/microsoft-edge/webdriver-chromium/capabilities-edge-options
+ args: [
+ //'--headless'
+ ]
+ }
+ },
+
+ webdriver: {
+ start_process: true,
+ // Follow https://docs.microsoft.com/en-us/microsoft-edge/webdriver-chromium/?tabs=c-sharp#download-microsoft-edge-webdriver
+ // to download the Edge WebDriver and set the location of extracted `msedgedriver` below:
+ server_path: 'C:\\Users\\user\\edgedriver\\msedgedriver.exe',
+ cli_args: [
+ ]
+ }
+ },
+
### Learn more
For more information about the Microsoft Edge WebDriver refer to the [Official documentation](https://developer.microsoft.com/en-us/microsoft-edge/platform/documentation/dev-guide/tools/webDriver/).
@@ -56,4 +80,4 @@ For more information about the Microsoft Edge WebDriver refer to the [Official d
→
-
\ No newline at end of file
+