@@ -109,10 +109,10 @@ class ServiceBuilder extends chromium.ServiceBuilder {
109
109
let exe = opt_exe || locateSynchronously ( )
110
110
if ( ! exe ) {
111
111
throw Error (
112
- `The WebDriver for Edge could not be found on the current PATH. Please download the ` +
113
- `latest version of ${ EDGEDRIVER_CHROMIUM_EXE } from ` +
114
- `https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/ ` +
115
- `and ensure it can be found on your PATH.`
112
+ `The WebDriver for Edge could not be found on the current PATH. Please download the ` +
113
+ `latest version of ${ EDGEDRIVER_CHROMIUM_EXE } from ` +
114
+ `https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/ ` +
115
+ `and ensure it can be found on your PATH.`
116
116
)
117
117
}
118
118
super ( exe )
@@ -152,10 +152,9 @@ class Driver extends chromium.Driver {
152
152
*/
153
153
static createSession ( opt_config , opt_serviceExecutor ) {
154
154
let caps = opt_config || new Options ( )
155
- return /** @type {!Driver } */ ( super . createSession (
156
- caps ,
157
- opt_serviceExecutor
158
- ) )
155
+ return /** @type {!Driver } */ (
156
+ super . createSession ( caps , opt_serviceExecutor )
157
+ )
159
158
}
160
159
161
160
/**
@@ -175,7 +174,7 @@ function setDefaultService(service) {
175
174
if ( defaultService && defaultService . isRunning ( ) ) {
176
175
throw Error (
177
176
'The previously configured EdgeDriver service is still running. ' +
178
- 'You must shut it down before you may adjust its configuration.'
177
+ 'You must shut it down before you may adjust its configuration.'
179
178
)
180
179
}
181
180
defaultService = service
@@ -194,7 +193,6 @@ function getDefaultService() {
194
193
return defaultService
195
194
}
196
195
197
-
198
196
/**
199
197
* _Synchronously_ attempts to locate the chromedriver executable on the current
200
198
* system.
0 commit comments