import { Frame } from "https://deno.land/x/pptr@1.2.0/src/FrameManager.ts";
Parameters
optional
options: { referer?: string; timeout?: number; waitUntil?: PuppeteerLifeCycleEvent | PuppeteerLifeCycleEvent[]; } = [UNSUPPORTED]- navigation options.
waitUntil
is useful to define when the navigation should be considered successful - see the docs for PuppeteerLifeCycleEvent for more details.
Returns
Promise<HTTPResponse | null>
A promise which resolves to the main resource response. In case of multiple redirects, the navigation will resolve with the response of the last redirect.