mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
768 B
768 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>