Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pptr/mod.ts>Frame#waitForNavigation

Headless Chrome Deno API
Latest
method Frame.prototype.waitForNavigation
Re-export
import { Frame } from "https://deno.land/x/pptr@1.2.0/mod.ts";

Parameters

optional
options: { timeout?: number; waitUntil?: PuppeteerLifeCycleEvent | PuppeteerLifeCycleEvent[]; } = [UNSUPPORTED]
  • options to configure when the navigation is consided finished.

Returns

Promise<HTTPResponse | null>

a promise that resolves when the frame navigates to a new URL.