shake
Simulate device shaking on Android or iOS for automation testing by specifying duration, intensity, and platform. Simplify testing gestures with precise control.
Instructions
Shake the device
Input Schema
Name | Required | Description | Default |
---|---|---|---|
duration | No | Duration of the shake in milliseconds (default: 1000) | |
intensity | No | Intensity of the shake acceleration (default: 100) | |
platform | Yes | Platform of the device |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"duration": {
"description": "Duration of the shake in milliseconds (default: 1000)",
"type": "number"
},
"intensity": {
"description": "Intensity of the shake acceleration (default: 100)",
"type": "number"
},
"platform": {
"description": "Platform of the device",
"enum": [
"android",
"ios"
],
"type": "string"
}
},
"required": [
"platform"
],
"type": "object"
}