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

Fired when frame has been detached from its parent.

Properties

frameId: FrameId

Id of the frame that has been detached.

reason: ("remove" | "swap")

(FrameDetachedEventReason enum)