Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 768 Bytes

puppeteer.frame.waitfornavigation.md

File metadata and controls

25 lines (16 loc) · 768 Bytes

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>