method Frame.prototype.waitForNavigationimport { Frame } from "https://deno.land/x/pptr@1.2.0/src/FrameManager.ts"; waitForNavigation(options?: { timeout?: number; waitUntil?: PuppeteerLifeCycleEvent | PuppeteerLifeCycleEvent[]; }): Promise<HTTPResponse | null>Parametersoptionaloptions: { timeout?: number; waitUntil?: PuppeteerLifeCycleEvent | PuppeteerLifeCycleEvent[]; } = [UNSUPPORTED] options to configure when the navigation is consided finished. ReturnsPromise<HTTPResponse | null>a promise that resolves when the frame navigates to a new URL.