getRotation method

Class: ImageRotationPlatform: WebdriverIO 5Language: JavaScript SDK:

Retrieve the amount the image should be rotated by.


let value = rotationObj.getRotation();


This method does not take any parameters.

Return value

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