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

Fired when a renderer-initiated navigation is requested. Navigation may still be cancelled after the event is issued.

Properties

frameId: FrameId

Id of the frame that is being navigated.

The reason for the navigation.

url: string

The destination URL for the requested navigation.

The disposition for the navigation.