Skip to main content
Go to Latest
interface Protocol.HeadlessExperimental.BeginFrameResponse
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
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)