puppeteer/website/versioned_docs/version-19.2.2/api/puppeteer.page.setdefaulttimeout.md
2022-11-03 11:02:28 +01:00

24 lines
377 B
Markdown

---
sidebar_label: Page.setDefaultTimeout
---
# Page.setDefaultTimeout() method
#### Signature:
```typescript
class Page {
setDefaultTimeout(timeout: number): void;
}
```
## Parameters
| Parameter | Type | Description |
| --------- | ------ | ----------------------------- |
| timeout | number | Maximum time in milliseconds. |
**Returns:**
void