Skip to content

Commit

Permalink
return node 10 support
Browse files Browse the repository at this point in the history
  • Loading branch information
corevo committed Mar 5, 2020
1 parent 73e6405 commit 4b18ff4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions javascript/node/selenium-webdriver/chrome.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,10 +288,9 @@ class Driver extends chromium.Driver {
let caps = opt_config || new Options();
return /** @type {!Driver} */(super.createSession(caps, opt_serviceExecutor));
}

static getDefaultService = getDefaultService;
}

Driver.getDefaultService = getDefaultService;
Driver.prototype.VENDOR_COMMAND_PREFIX = "goog";


Expand Down
2 changes: 1 addition & 1 deletion javascript/node/selenium-webdriver/edge.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ function locateSynchronously(browserName) {
* Class for managing Edge specific options.
*/
class Options extends chromium.Options {
static USE_EDGE_CHROMIUM = 'ms:edgeChromium';
/**
* Instruct the EdgeDriver to use Edge Chromium if true.
* Otherwise, use Edge Legacy (EdgeHTML). Defaults to using Edge Legacy.
Expand All @@ -133,6 +132,7 @@ class Options extends chromium.Options {
}
}

Options.USE_EDGE_CHROMIUM = 'ms:edgeChromium';
Options.prototype.BROWSER_NAME_VALUE = Browser.EDGE;
Options.prototype.CAPABILITY_KEY = 'ms:edgeOptions';
Options.prototype.VENDOR_CAPABILITY_PREFIX = 'ms';
Expand Down

0 comments on commit 4b18ff4

Please sign in to comment.