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

24 lines
376 B
Markdown
Raw Normal View History

2022-07-05 13:41:43 +00:00
---
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