getScaleRatio method

Class: ConfigurationPlatform: PlaywrightLanguage: JavaScript SDK:

Use this method to retrieve the scale ratio to be applied to images before matching.

Syntax

let configval = config.getScaleRatio();
config.scaleRatio = configval;
configval = config.scaleRatio;

Note that this feature is available as both a method and a property.

Parameters

This method does not take any parameters.

Return value

Type: number