puppeteer/new-docs/puppeteer.waitforoptions.timeout.md
Changhao Han adeffbaac1
docs(new): migrate Page.ts to TSDoc (part 0 / 2) (#6104)
* docs(new): migrate Page.ts to TSDoc (part 0 / 2)

Co-authored-by: Changhao Han <changhaohan@chromium.org>
2020-06-26 09:24:56 +02:00

668 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.