getRotation method

Class: ImageRotationPlatform: Selenium 4Language: JavaScript SDK:

Retrieve the amount the image should be rotated by.

Syntax


let value = rotationObj.getRotation();

Parameters

This method does not take any parameters.

Return value

Type: number
The amount by which the image should be rotated in degrees. A positive value indicates a clockwise rotation.