File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed
javascript/node/selenium-webdriver/firefox Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -305,30 +305,6 @@ function findGeckoDriver() {
305
305
}
306
306
307
307
308
- /**
309
- * @param {(string|!Binary) } binary .
310
- * @return {!remote.DriverService } .
311
- */
312
- function createGeckoDriverService ( binary ) {
313
- let exe = typeof binary === 'string' ?
314
- Promise . resolve ( binary ) : binary . locate ( ) ;
315
-
316
- let geckoDriver = findGeckoDriver ( ) ;
317
- let port = portprober . findFreePort ( ) ;
318
- let marionettePort = portprober . findFreePort ( ) ;
319
- return new remote . DriverService ( geckoDriver , {
320
- loopback : true ,
321
- port : port ,
322
- args : Promise . all ( [ exe , port , marionettePort ] ) . then ( args => {
323
- return [ '-b' , args [ 0 ] ,
324
- '--port' , args [ 1 ] ,
325
- '--marionette-port' , args [ 2 ] ] ;
326
- } )
327
- // ,stdio: 'inherit'
328
- } ) ;
329
- }
330
-
331
-
332
308
/**
333
309
* @param {(Profile|string) } profile The profile to prepare.
334
310
* @param {number } port The port the FirefoxDriver should listen on.
You can’t perform that action at this time.
0 commit comments