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

Fired when frame schedules a potential navigation.

Properties

frameId: FrameId

Id of the frame that has scheduled a navigation.

delay: number

Delay (in seconds) until the navigation is scheduled to begin. The navigation is not guaranteed to start.

The reason for the navigation.

url: string

The destination URL for the scheduled navigation.