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