Command Type
Command Type ID: 5Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| selector | string | The CSS selector to identify the element(s) to tap | Yes |
| timeout | number | The timeout for the command in milliseconds | Yes |
| filters | Filters | Optional filters to refine the elements to tap | No |
| viewportAreaPercentage | number | Percentage of the viewport area (0–100) used to decide which part of the element to tap | No |
Filters Object
| Field | Type | Description | Required |
|---|---|---|---|
| className | string | Filter elements by a specific class name | No |
| includeInnerText | Array of string | Include elements whose inner text contains any of the specified strings | No |
| excludeInnerText | Array of string | Exclude elements whose inner text contains any of the specified strings | No |
Usage Examples
Tap a Button
Tap with Inner Text Filter
Related Commands
- Run App - Launch the app before tapping
- Mouse Click On Elements - Browser equivalent