Skip to main content
Version: 17.1.2

WaitForOptions.timeout property

Maximum wait time in milliseconds. Pass 0 to disable the timeout.

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

Signature:

interface WaitForOptions {
timeout?: number;
}