Extremely Popular
Go to Latest
interface puppeteer.HeadlessExperimental.BeginFrameResponse
import { type puppeteer } from "https://dotland.deno.dev/x/fresh@1.0.2/tests/deps.ts";
const { BeginFrameResponse } = puppeteer.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)