setStitchMode method

Class: ConfigurationPlatform: WebdriverIO 5Language: 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:<a class ='link' href='/Content/api/eyes-sdk/enums-gen/enum-global-stitchmode-webdriverio_sdk5-javascript.htm'>StitchMode</a>
The stitch mode to use. Either CSS or SCROLL.

Return value

Type: <a class ='link' href='/Content/api/eyes-sdk/index-gen/class-configuration-webdriverio_sdk5-javascript.htm'>Configuration</a>
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.