2022-07-05 13:41:43 +00:00
|
|
|
---
|
|
|
|
sidebar_label: WaitForSelectorOptions.timeout
|
|
|
|
---
|
|
|
|
|
|
|
|
# WaitForSelectorOptions.timeout property
|
|
|
|
|
2022-08-10 21:34:29 +00:00
|
|
|
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-07-05 13:41:43 +00:00
|
|
|
**Signature:**
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
interface WaitForSelectorOptions {
|
|
|
|
timeout?: number;
|
|
|
|
}
|
|
|
|
```
|