puppeteer/website/versioned_docs/version-20.8.3/api/puppeteer.page.setdefaulttimeout.md

24 lines
377 B
Markdown
Raw Normal View History

---
sidebar_label: Page.setDefaultTimeout
---
# Page.setDefaultTimeout() method
2022-10-24 14:31:12 +00:00
#### Signature:
```typescript
class Page {
setDefaultTimeout(timeout: number): void;
}
```
## Parameters
| Parameter | Type | Description |
| --------- | ------ | ----------------------------- |
| timeout | number | Maximum time in milliseconds. |
**Returns:**
void