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

Function startSeleniumServer

javascript/selenium-webdriver/index.js:64–69  ·  view source on GitHub ↗

* Starts an instance of the Selenium server if not yet running. * @param {string} jar Path to the server jar to use. * @return {!Promise } A promise for the server's * address once started.

(jar)

Source from the content-addressed store, hash-verified

62 * address once started.
63 */
64function startSeleniumServer(jar) {
65 if (!seleniumServer) {
66 seleniumServer = new remote.SeleniumServer(jar)
67 }
68 return seleniumServer.start()
69}
70
71/**
72 * {@linkplain webdriver.WebDriver#setFileDetector WebDriver's setFileDetector}

Callers 1

buildMethod · 0.85

Calls 1

startMethod · 0.65

Tested by

no test coverage detected