setScaleRatio method

Class: EyesPlatform: Selenium 3Language: 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);

Parameters

scaleRatio
Type:number
The scale ratio to use

Return value

Type: