waitBeforeScreenshots property

Class: ConfigurationPlatform: PuppeteerLanguage: JavaScript SDK:

Use this property to set and retrieve 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.


config.waitBeforeScreenshots = configval;
configval = config.waitBeforeScreenshots;


The time to wait in milliseconds. Passing a value of less than or equal to zero will cause the default value to be used.