puppeteer/new-docs/puppeteer.frame.waitfornavigation.md
Jack Franklin e2e050259f
chore(docs): fix DOMWorld doc warnings (#6166)
I noticed that DOMWorld was spitting a lot of warnings out when we
generated the docs. It was mostly easy tidy-ups and removing old JSDoc
comments and now the warnings are gone :)
2020-07-06 12:37:16 +01:00

860 B

Home > puppeteer > Frame > waitForNavigation

Frame.waitForNavigation() method

Signature:

waitForNavigation(options?: {
        timeout?: number;
        waitUntil?: PuppeteerLifeCycleEvent | PuppeteerLifeCycleEvent[];
    }): Promise<HTTPResponse | null>;

Parameters

Parameter Type Description
options { timeout?: number; waitUntil?: PuppeteerLifeCycleEvent | PuppeteerLifeCycleEvent[]; }

Returns:

Promise<HTTPResponse | null>