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

Properties

hasDamage: boolean

Whether the BeginFrame resulted in damage and, thus, a new frame was committed to the display. Reported for diagnostic uses, may be removed in the future.

optional
screenshotData: string

Base64-encoded image data of the screenshot, if one was requested and successfully taken. (Encoded as a base64 string when passed over JSON)