Skip to main content
Go to Latest
interface Protocol.Page.FrameRequestedNavigationEvent
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
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.