MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / startSeleniumServer

Function startSeleniumServer

javascript/selenium-webdriver/index.js:63–68  ·  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

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

Callers 1

buildMethod · 0.85

Calls 1

startMethod · 0.65

Tested by

no test coverage detected