timeout property

Class: CheckSettingsPlainPlatform: PuppeteerLanguage: JavaScript SDK:

Defines the timeout to use when acquiring and comparing screenshots for this target.

Syntax

eyes.check({ timeout: value });

Type:number

The timeout to use in milliseconds.

Remarks

You may only call this method once in a given chain. The timeout value provided here overrides the default value or the value set by setMatchTimeout for the current target. Passing this method a value of zero disables the timeout mechanism.