puppeteer/website/versioned_docs/version-19.8.0/api/puppeteer.waitforselectoroptions.timeout.md
release-please[bot] dcfec6dbbd
chore: release main (#9863)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-03-24 11:22:06 +01:00

410 B

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()

Signature:

interface WaitForSelectorOptions {
  timeout?: number;
}

Default value:

30000 (30 seconds)