Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/sinco/deps.ts>Protocol.HeadlessExperimental.BeginFrameResponse

Browser Automation and Testing Tool for Deno, written in full TypeScript
Latest
interface Protocol.HeadlessExperimental.BeginFrameResponse
import { type Protocol } from "https://deno.land/x/sinco@v4.1.0/deps.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)