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

18 lines
366 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)
**Signature:**
```typescript
interface WaitForSelectorOptions {
timeout?: number;
}
```