Timeout method

Class: CheckSettingsPlatform: AppiumLanguage: C# SDK:

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

Syntax


eyes.Check(Target.Window().Timeout(timeout))

Parameters

timeout
Type:TimeSpan
The timeout to use in TimeSpan units.

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 MatchTimeout for the current target. Passing this method a value of zero disables the timeout mechanism.