mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
This PR updates the docs regarding configuring puppeteer. In addition, some changes have been made to the documentation generator to show default values on the documentation site. Also fixes: https://github.com/puppeteer/puppeteer/pull/9144
1.8 KiB
1.8 KiB
sidebar_label
| sidebar_label |
|---|
| WaitForSelectorOptions |
WaitForSelectorOptions interface
Signature:
export interface WaitForSelectorOptions
Properties
| Property | Modifiers | Type | Description | Default |
|---|---|---|---|---|
| hidden? | 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. |
false |
|
| timeout? | number | (Optional) Maximum time to wait in milliseconds. Pass The default value can be changed by using Page.setDefaultTimeout() |
30000 (30 seconds) |
|
| visible? | boolean | (Optional) Wait for the selected element to be present in DOM and to be visible, i.e. to not have display: none or visibility: hidden CSS properties. |
false |