rotate
Set device orientation to portrait or landscape for Android or iOS using a mobile automation tool. Simplify testing and UI validation with precise control.
Instructions
Rotate the device to a specific orientation
Input Schema
Name | Required | Description | Default |
---|---|---|---|
orientation | Yes | The orientation to set | |
platform | Yes | Platform of the device |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"orientation": {
"description": "The orientation to set",
"enum": [
"portrait",
"landscape"
],
"type": "string"
},
"platform": {
"description": "Platform of the device",
"enum": [
"android",
"ios"
],
"type": "string"
}
},
"required": [
"orientation",
"platform"
],
"type": "object"
}