timeout method
Defines the timeout to use when acquiring and comparing screenshots for this target.
Syntax
eyes.check(Target.window().timeout(timeoutMilliseconds))
Parameters
- timeoutMilliseconds
- Type:int
- The timeout to use in milliseconds.
Return value
- Type: ICheckSettings
- The value returned is the object that called the method. You can use it to call other methods supported by the object class.
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.