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

getRotation method

Class: ConfigurationPlatform: PlaywrightLanguage: JavaScript SDK:

Use this method to retrieve the amount the image is rotated before matching in degrees.


let configval = config.getRotation();
config.rotation = configval;
configval = config.rotation;

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


This method does not take any parameters.

Return value

Type: ImageRotation