puppeteer/website/versioned_docs/version-10.1.0/puppeteer.waitforoptions.timeout.md
2021-08-10 11:09:48 +01:00

650 B

Home > puppeteer > WaitForOptions > timeout

WaitForOptions.timeout property

Maximum wait time in milliseconds, defaults to 30 seconds, pass 0 to disable the timeout.

Signature:

timeout?: number;

Remarks

The default value can be changed by using the Page.setDefaultTimeout() or Page.setDefaultNavigationTimeout() methods.