Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.HeadlessExperimental.BeginFrameResponse
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.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.