The information in this topic may be out of date. The current SDK reference guide has moved here.

scaleRatio property

Class: ConfigurationPlainPlatform: PlaywrightLanguage: JavaScript SDK:

Use this property to set and retrieve the scale ratio to be applied to images before matching.


config = { scaleRatio: value_number };


The scale ratio to use.