puppeteer/website/versioned_docs/version-17.1.3/api/puppeteer.waitforselectoroptions.md
release-please[bot] 9b120f6c7b
chore(main): release 17.1.3 (#8921)
* chore(main): release 17.1.3

* chore: generate versioned docs

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-09-08 13:16:39 +00:00

1.6 KiB

sidebar_label
WaitForSelectorOptions

WaitForSelectorOptions interface

Signature:

export interface WaitForSelectorOptions

Properties

Property Modifiers Type Description
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.
timeout? number

(Optional) Maximum time to wait in milliseconds. Pass 0 to disable timeout.

The default value can be changed by using Page.setDefaultTimeout()

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.