setScaleRatio method

Class: EyesPlatform: WebdriverIO 5Language: JavaScript SDK:

Use this method to set the scale ratio to be applied to images before matching, to compensate for different vertical and horizontal pixels density on some devices.

Syntax


eyes.setScaleRatio(scaleRatio);
eyes.setScaleRatio();

Parameters

scaleRatio
Type:number [Optional : default = 1 ]
The scale ratio to use

Return value

Type: