puppeteer/docs/api/puppeteer.page.setdefaulttimeout.md

22 lines
339 B
Markdown
Raw Normal View History

---
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