Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update example in edge.js #9231

Merged
merged 2 commits into from
Mar 2, 2021
Merged
Changes from 1 commit
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
7 changes: 6 additions & 1 deletion javascript/node/selenium-webdriver/edge.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,14 @@
*
* You may use {@link Options} to specify whether Edge Chromium should be used:

* var edge = require('selenium-webdriver/edge');
* var options = new edge.Options();
* options.useEdgeChromium(true);
* options.setEdgeChromium(true);
* // configure browser options ...
* let driver = await new Builder()
* .forBrowser('MicrosoftEdge')
* .setEdgeOptions(options)
* .build();

* Note that Chromium-specific {@link Options} will be ignored when using Edge Legacy.
*
Expand Down