2022-07-05 13:41:43 +00:00
|
|
|
---
|
|
|
|
sidebar_label: Page.waitForNetworkIdle
|
|
|
|
---
|
|
|
|
|
|
|
|
# Page.waitForNetworkIdle() method
|
|
|
|
|
2022-10-24 07:07:05 +00:00
|
|
|
#### 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
|
|
|
|
|
2023-11-29 12:06:05 +00:00
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --------- | -------------------------------------------------- | ---------------------------------------- |
|
|
|
|
| options | { idleTime?: number; timeout?: number; } | _(Optional)_ Optional waiting parameters |
|
2022-07-05 13:41:43 +00:00
|
|
|
|
|
|
|
**Returns:**
|
|
|
|
|
|
|
|
Promise<void>
|
|
|
|
|
|
|
|
Promise which resolves when network is idle
|