computer_long_click
Press and hold the left mouse button at specified screen coordinates on a remote device to simulate a long-click action.
Instructions
Press and hold the left button at the coordinates.
Args: serialno: The computer device serialno, from list_devices. x: X coordinate in screen pixels. y: Y coordinate in screen pixels. duration: Hold duration in SECONDS. Omit or 0 for the driver default.
Returns: JSON response from the API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| duration | No | ||
| serialno | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |