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

Issued when the target starts or stops needing BeginFrames. Deprecated. Issue beginFrame unconditionally instead and use result from beginFrame to detect whether the frames were suppressed.

Properties

needsBeginFrames: boolean

True if BeginFrames are needed, false otherwise.