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

Method secure

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

* Sets the flag to fetch secure cookies. * * @param {boolean} secure - Whether the cookie fetched should be secure only or not. * @returns {CookieFilter} - The updated CookieFilter instance for chaining.

(secure)

Source from the content-addressed store, hash-verified

101 * @returns {CookieFilter} - The updated CookieFilter instance for chaining.
102 */
103 secure(secure) {
104 this.#map.set('secure', secure)
105 return this
106 }
107
108 /**
109 * Sets the SameSite attribute for the cookie.

Callers

nothing calls this directly

Calls 1

setMethod · 0.65

Tested by

no test coverage detected