setRotation method

Class: EyesPlatform: WebdriverIO 5Language: JavaScript SDK:

Use this method to set the rotation to apply to the checkpoint images before matching.

Typically, this is used to switch between portrait and landscope modes (90 degrees).

Syntax


eyes.setRotation(rotation);

Parameters

rotation
Type:ImageRotation
The number of degrees to rotate.

Return value

Type: