mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
adeffbaac1
* docs(new): migrate Page.ts to TSDoc (part 0 / 2) Co-authored-by: Changhao Han <changhaohan@chromium.org>
668 B
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.