Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
method Frame.prototype.waitForNavigation
import { Frame } from "https://deno.land/x/pptr@1.2.0/src/FrameManager.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.