Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface Protocol.Audits.CookieIssueDetails
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { CookieIssueDetails } = Protocol.Audits;

This information is currently necessary, as the front-end has a difficult time finding a specific cookie. With this, we can convey specific error information without the cookie.

Properties

optional
rawCookieLine: string
cookieWarningReasons: CookieWarningReason[]
cookieExclusionReasons: CookieExclusionReason[]
operation: CookieOperation

Optionally identifies the site-for-cookies and the cookie url, which may be used by the front-end as additional context.

optional
siteForCookies: string
optional
cookieUrl: string
optional
request: AffectedRequest