MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / startSelenium

Function startSelenium

javascript/selenium-webdriver/testing/index.js:504–511  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

502 const startTimeout = 65 * 1000
503
504 function startSelenium() {
505 if (typeof this.timeout === 'function') {
506 this.timeout(startTimeout) // For mocha.
507 }
508
509 info(`Starting selenium server ${seleniumJar}`)
510 return seleniumServer.start(60 * 1000)
511 }
512
513 const /** !Function */ beforeHook = global.beforeAll || global.before
514 beforeHook(startSelenium, startTimeout)

Callers

nothing calls this directly

Calls 2

infoFunction · 0.85
startMethod · 0.65

Tested by

no test coverage detected