puppeteer/website/versioned_docs/version-19.2.2/api/puppeteer.waitforoptions.timeout.md

22 lines
474 B
Markdown
Raw Normal View History

---
sidebar_label: WaitForOptions.timeout
---
# WaitForOptions.timeout property
Maximum wait time in milliseconds. Pass 0 to disable the timeout.
The default value can be changed by using the [Page.setDefaultTimeout()](./puppeteer.page.setdefaulttimeout.md) or [Page.setDefaultNavigationTimeout()](./puppeteer.page.setdefaultnavigationtimeout.md) methods.
2022-10-24 14:31:12 +00:00
#### Signature:
```typescript
interface WaitForOptions {
timeout?: number;
}
```
2022-10-24 14:31:12 +00:00
#### Default value:
`30000`