setScaleRatio method

Class: EyesPlatform: Selenium 3Language: Java 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:Double
The scale ratio to use

Return value

Type: void