Skip to content

Commit 4b18ff4

Browse files
committed
return node 10 support
1 parent 73e6405 commit 4b18ff4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

javascript/node/selenium-webdriver/chrome.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,10 +288,9 @@ class Driver extends chromium.Driver {
288288
let caps = opt_config || new Options();
289289
return /** @type {!Driver} */(super.createSession(caps, opt_serviceExecutor));
290290
}
291-
292-
static getDefaultService = getDefaultService;
293291
}
294292

293+
Driver.getDefaultService = getDefaultService;
295294
Driver.prototype.VENDOR_COMMAND_PREFIX = "goog";
296295

297296

javascript/node/selenium-webdriver/edge.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ function locateSynchronously(browserName) {
119119
* Class for managing Edge specific options.
120120
*/
121121
class Options extends chromium.Options {
122-
static USE_EDGE_CHROMIUM = 'ms:edgeChromium';
123122
/**
124123
* Instruct the EdgeDriver to use Edge Chromium if true.
125124
* Otherwise, use Edge Legacy (EdgeHTML). Defaults to using Edge Legacy.
@@ -133,6 +132,7 @@ class Options extends chromium.Options {
133132
}
134133
}
135134

135+
Options.USE_EDGE_CHROMIUM = 'ms:edgeChromium';
136136
Options.prototype.BROWSER_NAME_VALUE = Browser.EDGE;
137137
Options.prototype.CAPABILITY_KEY = 'ms:edgeOptions';
138138
Options.prototype.VENDOR_CAPABILITY_PREFIX = 'ms';

0 commit comments

Comments
 (0)