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

Method setPath

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

* Sets the base path for WebDriver REST commands (e.g. "/wd/hub"). * By default, the driver will accept commands relative to "/". * * @param {?string} basePath The base path to use, or `null` to use the * default. * @return {!DriverService.Builder} A self reference.

(basePath)

Source from the content-addressed store, hash-verified

377 * @return {!DriverService.Builder} A self reference.
378 */
379 setPath(basePath) {
380 this.options_.path = basePath
381 return this
382 }
383
384 /**
385 * Sets the port to start the server on.

Callers 2

service_test.jsFile · 0.45
uri.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected