perform-element-action
Execute mobile app automation actions on elements using Appium locators. Perform taps, text input, visibility checks, swipes, and other interactions to automate testing workflows.
Instructions
Perform a specific action on an element using various locator strategies
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>",
"locatorType": "<locatorType>",
"locatorValue": "<locatorValue>"
},
"name": "perform-element-action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The action to perform on the element | |
| locatorType | Yes | The type of locator to use | |
| locatorValue | Yes | The value of the locator | |
| actionParams | No | Additional parameters for the action (e.g., text for sendKeys) | |
| timeoutMs | No | Timeout in milliseconds (default: 10000) |