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

Method hostname

javascript/selenium-webdriver/bidi/urlPattern.js:42–45  ·  view source on GitHub ↗

* Sets the hostname for the URL pattern. * * @param {string} hostname - The hostname to set. * @returns {UrlPattern} - Returns the updated instance of the URL pattern for chaining.

(hostname)

Source from the content-addressed store, hash-verified

40 * @returns {UrlPattern} - Returns the updated instance of the URL pattern for chaining.
41 */
42 hostname(hostname) {
43 this.#map.set('hostname', hostname)
44 return this
45 }
46
47 /**
48 * Sets the port for the URL pattern.

Callers 3

devtools_urlMethod · 0.45
get_requestMethod · 0.45

Calls 1

setMethod · 0.65

Tested by

no test coverage detected