setStitchMode method

Class: ConfigurationPlatform: Selenium 4Language: JavaScript SDK:

Use this method to set the type of stitching used for full page screenshots.

Syntax


let configval = config.setStitchMode(value);

Parameters

value
Type:StitchMode
The stitch mode to use. Either CSS or SCROLL.

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 this class.