get-element-attributes
Retrieve all available attributes for a mobile app element using Appium automation. Specify a selector and strategy to extract element properties for testing and debugging.
Instructions
Get all available attributes of an element
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": {
"selector": "<selector>"
},
"name": "get-element-attributes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | Element selector (e.g., xpath, id) | |
| strategy | No | Selector strategy: xpath, id, accessibility id, class name (default: xpath) |