The information in this topic may be out of date. The current SDK reference guide has moved here.
SetWaitBeforeScreenshots method
Use this method to set the amount of time in milliseconds that Eyes will wait before capturing a screenshot.
When a large image is captured with multiple sub-images using scrolling and stitching, Eyes will wait the amount of time specified by this method before capturing each sub-image.
Syntax
IConfiguration configval = config.SetWaitBeforeScreenshots(value);
config.WaitBeforeScreenshots = configval;
= config.WaitBeforeScreenshots;
Note that this feature is available as both a method and a property.
Parameters
- value
- Type:int
- The time to wait in milliseconds. Passing a value of less than or equal to zero will cause the default value to be used.
Return value
- Type: IConfiguration
-
The value returned is the object that called the method.
This allows you to use a fluent style to call the
setXXXX
methods of the Configuration class.