Rotate action

Rotate (orientationChange) is a mobile-only action that simulates a user rotating a mobile device between Portrait and Landscape orientation. This action is only supported in the Mobile and Chrome agents.

The action is made up of a single property:

direction

This property can be set to one of two valid values:

clockwise – This value results in a 90-degree clockwise rotation.

counterclockwise – This value results in a 90-degree counterclockwise rotation.