Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 25 additions & 1 deletion guide/browser-drivers/edgedriver.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,30 @@ Run your Nightwatch.js tests in Edge can be achieved using the [Microsoft Edge
}
</code></pre>

Alternatively, add the server_path in the "edge" configuration:
<pre data-language="javascript"><code class="language-javascript">
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: [
]
}
},
</code></pre>
### 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/).
Expand All @@ -56,4 +80,4 @@ For more information about the Microsoft Edge WebDriver refer to the [Official d
<span>→</span>
</a>
</div>
</div>
</div>