getWaitBeforeScreenshots method

Class: ConfigurationPlatform: NightwatchLanguage: 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.


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

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


This method does not take any parameters.

Return value

Type: number