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