mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
18 lines
366 B
Markdown
18 lines
366 B
Markdown
---
|
|
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;
|
|
}
|
|
```
|