shake
Simulate device shaking for mobile testing on Android or iOS platforms, controlling duration and intensity parameters for automation scenarios.
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 |