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

Method constructor

javascript/selenium-webdriver/remote/index.js:321–332  ·  view source on GitHub ↗

* @param {string} exe Path to the executable to use. This executable must * accept the `--port` flag for defining the port to start the server on. * @throws {Error} If the provided executable path does not exist.

(exe)

Source from the content-addressed store, hash-verified

319 * @throws {Error} If the provided executable path does not exist.
320 */
321 constructor(exe) {
322 /** @private @const {string} */
323 this.exe_ = exe
324
325 /** @private {!ServiceOptions} */
326 this.options_ = {
327 args: [],
328 port: 0,
329 env: null,
330 stdio: 'ignore',
331 }
332 }
333
334 /**
335 * Define additional command line arguments to use when starting the server.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected