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

Function startSelenium

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

Source from the content-addressed store, hash-verified

528 const startTimeout = 65 * 1000
529
530 function startSelenium() {
531 if (typeof this.timeout === 'function') {
532 this.timeout(startTimeout) // For mocha.
533 }
534
535 info(`Starting selenium server ${seleniumJar}`)
536 return seleniumServer.start(60 * 1000)
537 }
538
539 const /** !Function */ beforeHook = global.beforeAll || global.before
540 beforeHook(startSelenium, startTimeout)

Callers

nothing calls this directly

Calls 2

infoFunction · 0.85
startMethod · 0.65

Tested by

no test coverage detected