Skip to main content
Version: 16.1.1

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;
}