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

Method protocol

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

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

(protocol)

Source from the content-addressed store, hash-verified

29 * @returns {UrlPattern} - Returns the updated instance of the URL pattern for chaining.
30 */
31 protocol(protocol) {
32 this.#map.set('protocol', protocol)
33 return this
34 }
35
36 /**
37 * Sets the hostname for the URL pattern.

Callers 3

WebDriverClass · 0.45
WebDriverClass · 0.45

Calls 1

setMethod · 0.65

Tested by

no test coverage detected