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

Method domain

javascript/selenium-webdriver/bidi/cookieFilter.js:59–62  ·  view source on GitHub ↗

* Sets the domain for the cookie. * * @param {string} domain - The domain to set. * @returns {CookieFilter} - The updated CookieFilter instance for chaining.

(domain)

Source from the content-addressed store, hash-verified

57 * @returns {CookieFilter} - The updated CookieFilter instance for chaining.
58 */
59 domain(domain) {
60 this.#map.set('domain', domain)
61 return this
62 }
63
64 /**
65 * Sets the url path for the cookie to be fetched.

Callers

nothing calls this directly

Calls 1

setMethod · 0.65

Tested by

no test coverage detected