swipe
Simulate a touch swipe between two points on a mobile-enabled page, controlling the duration for realistic interaction.
Instructions
Simulate touch swipe from point A to point B with duration. Ensure viewport is set to mobile/touch enabled first via emulate_device or resize_viewport.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | Start coordinates | |
| to | Yes | End coordinates | |
| duration | No | Swipe duration in ms | |
| tabId | No | Target tab ID (defaults to currently active tab) | |
| apiKey | No | API key for authentication if enabled |