puppeteer/docs/api/puppeteer.page.waitfornetworkidle.md

29 lines
668 B
Markdown
Raw Normal View History

2022-07-05 13:41:43 +00:00
---
sidebar_label: Page.waitForNetworkIdle
---
# Page.waitForNetworkIdle() method
#### Signature:
2022-07-05 13:41:43 +00:00
```typescript
class Page {
2023-09-21 09:09:27 +00:00
abstract waitForNetworkIdle(options?: {
2022-07-05 13:41:43 +00:00
idleTime?: number;
timeout?: number;
}): Promise<void>;
}
```
## Parameters
| Parameter | Type | Description |
| --------- | -------------------------------------------------- | ---------------------------------------- |
| options | &#123; idleTime?: number; timeout?: number; &#125; | _(Optional)_ Optional waiting parameters |
2022-07-05 13:41:43 +00:00
**Returns:**
Promise&lt;void&gt;
Promise which resolves when network is idle