Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.Page.FrameAttachedEvent
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { FrameAttachedEvent } = Protocol.Page;

Fired when frame has been attached to its parent.

Properties

frameId: FrameId

Id of the frame that has been attached.

parentFrameId: FrameId

Parent frame identifier.

optional
stack: Runtime.StackTrace

JavaScript stack trace of when frame was attached, only set if frame initiated from script.