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

1.0 KiB

Home > puppeteer > Page > setDefaultNavigationTimeout

Page.setDefaultNavigationTimeout() method

This setting will change the default maximum navigation time for the following methods and related shortcuts:

Signature:

setDefaultNavigationTimeout(timeout: number): void;

Parameters

Parameter Type Description
timeout number Maximum navigation time in milliseconds.

Returns:

void