---
sidebar_label: WaitForSelectorOptions
---
# WaitForSelectorOptions interface
**Signature:**
```typescript
export interface WaitForSelectorOptions
```
## Properties
| Property | Modifiers | Type | Description |
| --------------------------------------------------------- | --------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [hidden?](./puppeteer.waitforselectoroptions.hidden.md) | | boolean | (Optional) Wait for the selected element to not be found in the DOM or to be hidden, i.e. have display: none
or visibility: hidden
CSS properties. |
| [timeout?](./puppeteer.waitforselectoroptions.timeout.md) | | number |
(Optional) 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)
| | [visible?](./puppeteer.waitforselectoroptions.visible.md) | | boolean | (Optional) Wait for the selected element to be present in DOM and to be visible, i.e. to not havedisplay: none
or visibility: hidden
CSS properties. |