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

Method pathname

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

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

(pathname)

Source from the content-addressed store, hash-verified

67 * @returns {UrlPattern} - Returns the updated instance of the URL pattern for chaining.
68 */
69 pathname(pathname) {
70 this.#map.set('pathname', pathname)
71 return this
72 }
73
74 /**
75 * Sets the search parameter in the URL pattern.

Calls 1

setMethod · 0.65

Tested by

no test coverage detected