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

Method constructor

javascript/selenium-webdriver/bidi/networkTypes.js:141–151  ·  view source on GitHub ↗
(name, value, domain, path, size, httpOnly, secure, sameSite, expires)

Source from the content-addressed store, hash-verified

139 */
140class Cookie {
141 constructor(name, value, domain, path, size, httpOnly, secure, sameSite, expires) {
142 this._name = name
143 this._value = value
144 this._domain = domain
145 this._path = path
146 this._expires = expires
147 this._size = size
148 this._httpOnly = httpOnly
149 this._secure = secure
150 this._sameSite = sameSite
151 }
152
153 /**
154 * Gets the name of the cookie.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected