externalPlaywrightCookie
Hierarchy
- Cookie
- PlaywrightCookie
Index
Constructors
Methods
Constructors
externalconstructor
Parameters
externalcontext: BrowserContext
externalcookieName: string
Returns PlaywrightCookie
Methods
externaldelete
Returns Promise<void>
externalname
Returns the name of this cookie.
Returns string
externalisPresent
Returns Promise<boolean>
externalvalue
Returns the value of a given cookie.
Returns Promise<string>
externalpath
Returns the path of a given cookie, if any was set.
Returns Promise<string>
externaldomain
Returns the domain of a given cookie, if any was set.
Returns Promise<string>
externalisHttpOnly
Checks if a given cookie is HTTP-only.
Learn more
Returns Promise<boolean>
externalisSecure
Checks if a given cookie is secure.
Learn more
Returns Promise<boolean>
Playwright-specific implementation of
Cookie
.