Screen Automator — ClickInXY
Summary
- Internal name:
SCREEN_AUTOMATOR - Category: Screen Automation / Accessibility
- Purpose: Perform a tap at specific screen coordinates (X, Y) on the device.
- Task type: Normal
This task allows an AndroMate workflow to simulate precise touch input regardless of UI text or structure.
Useful for automating clicks on custom UI components, games, images, dynamic layouts, and elements without accessibility labels.
⚠️ Important limitation: Some Android firmwares ignore ClickInXY events on certain system-protected areas.
Examples include:
- System update dialogs
- APK install/update confirmation buttons on Android 16+
- Secure or restricted UI overlays (OEM-level protections)
This is enforced by the Android security model and cannot be bypassed.
Compatibility
- Minimum AndroMate version:
1.1.0 - Maximum AndroMate version:
1.1.0 - Minimum Android:
Android 13 (API 33) - Maximum Android tested:
Android 16 (API 36)
Supported manufacturers
- ✅ Samsung (One UI 6.x / 7.x / 8.x)
Required permissions
ACCESSIBILITY_SERVICE- (Optional)
SYSTEM_ALERT_WINDOWfor overlay interactions
Detailed description
The ClickInXY mode of ScreenAutomator triggers a physical-style tap at a specific coordinate (x, y).
It is essential when:
- UI elements do not expose any accessibility text
- The interface is custom-rendered (Canvas, OpenGL, Unity, game UIs)
- A workflow must press an exact pixel location
- Buttons are graphical only (icons, images, etc.)
⚠️ Coordinates are absolute and require calibration per device.
They do not scale automatically with:
- resolution
- screen density
- rotation
Input parameters
| Parameter | Type | Required | Possible values | Android Compatibility | AndroMate Compatibility | Default |
|---|---|---|---|---|---|---|
Action_type |
Enum | Yes | Must be "ClickInXY" |
Android 13 (API 33) → Android 16 (API 36) | 1.1.0 → 1.1.0 | — |
ClickInXY_X |
Integer | Yes | X ≥ 0 | Android 13 (API 33) → Android 16 (API 36) | 1.1.0 → 1.1.0 | — |
ClickInXY_Y |
Integer | Yes | Y ≥ 0 | Android 13 (API 33) → Android 16 (API 36) | 1.1.0 → 1.1.0 | — |
Output parameters
The ClickInXY mode does not produce outputs.
It simply performs the system interaction.
Parameter details
1. Action_type
Must be exactly "ClickInXY".
Example
2. ClickInXY_X
The horizontal coordinate of the tap.
Example
3. ClickInXY_Y
The vertical coordinate of the tap.
Example
Exceptions
| Code | Exception Name | Description |
|---|---|---|
| SCREEN-AUTOMATOR-ERROR-003 | INVALID_ACTION_TYPE | Invalid action type (must be ClickInXY) |
| SCREEN-AUTOMATOR-ERROR-004 | INVALID_X_Y_INPUT | Invalid X / Y coordinates (values must be ≥ 0 and within the screen bounds) |
| SCREEN-AUTOMATOR-ERROR-007 | INVALID_JSON_ARRAY | Invalid or malformed JSON array received for input parameters |
| SCREEN-AUTOMATOR-ERROR-008 | TIME_OUT | Execution of the click action exceeded the allowed timeout |
Complete JSON example
{
"ScreenAutomator": [
{
"id": "20",
"title": "Tap Center Screen",
"Action_type": "ClickInXY",
"ClickInXY_X": 540,
"ClickInXY_Y": 1200
},
{
"id": "21",
"title": "Tap Top Right Corner",
"Action_type": "ClickInXY",
"ClickInXY_X": 1000,
"ClickInXY_Y": 200
},
{
"id": "22",
"title": "Tap Bottom Menu Region",
"Action_type": "ClickInXY",
"ClickInXY_X": 540,
"ClickInXY_Y": 2000
}
]
}