ImageRotation method

Class: ImageRotationPlatform: WebdriverIO 5Language: JavaScript SDK:

Create an object that defines how much an image should be rotated by.

Syntax


let rotationObj = new ImageRotation(rotation);

Parameters

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

Return value

Type: ImageRotation