setForceFullPageScreenshot method

Class: ConfigurationPlatform: NightwatchLanguage: JavaScript SDK:

Use this method to set whether or not Eyes does scrolling and stitching on pages whose size is greater than the viewport.

Syntax

let configval = config.setForceFullPageScreenshot(forceFullPageScreenshot);
config.forceFullPageScreenshot = configval;
configval = config.forceFullPageScreenshot;

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

Parameters

forceFullPageScreenshot
Type:boolean
If this paramter has a value of true, then Eyes will do scrolling and stitching if necessary. If false, then the result is browser dependent.

Return value

Type: Configuration
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.