Skip to content

Commit

Permalink
Update example in edge.js (#9231)[skip ci]
Browse files Browse the repository at this point in the history
In particular, change options.useEdgeChromium(true) to options.setEdgeChromium(true).

Co-authored-by: Sri Harsha <12621691+JS31096@users.noreply.github.com>
  • Loading branch information
hectorhon and harsha509 authored Mar 2, 2021
1 parent d962c9f commit bd468dd
Showing 1 changed file with 6 additions and 1 deletion.
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

0 comments on commit bd468dd

Please sign in to comment.