puppeteer/website/versioned_docs/version-19.3.0/api/puppeteer.waitforselectoroptions.timeout.md

22 lines
410 B
Markdown
Raw Normal View History

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