puppeteer/website/versioned_docs/version-18.2.1/api/puppeteer.page.waitfornetworkidle.md
2022-10-06 12:22:55 +02:00

643 B

sidebar_label
Page.waitForNetworkIdle

Page.waitForNetworkIdle() method

Signature:

class Page {
  waitForNetworkIdle(options?: {
    idleTime?: number;
    timeout?: number;
  }): Promise<void>;
}

Parameters

Parameter Type Description
options { idleTime?: number; timeout?: number; } (Optional) Optional waiting parameters

Returns:

Promise<void>

Promise which resolves when network is idle