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

Method setHostname

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

* Sets the host name to access the server on. If specified, the * plain #setLoopback() loopback setting will be ignored. * * @param {string} hostname * @return {!DriverService.Builder} A self reference.

(hostname)

Source from the content-addressed store, hash-verified

352 * @return {!DriverService.Builder} A self reference.
353 */
354 setHostname(hostname) {
355 this.options_.hostname = hostname
356 return this
357 }
358
359 /**
360 * Sets whether the service should be accessed at this host's loopback

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected