getWaitBeforeScreenshots method

Class: ConfigurationPlatform: PuppeteerLanguage: JavaScript SDK:

Returns 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

let configval = config.getWaitBeforeScreenshots();
config.waitBeforeScreenshots = configval;
configval = config.waitBeforeScreenshots;

Note that this feature is available as both a method and a property.

Parameters

This method does not take any parameters.

Return value

Type: number