get-element-text
Extract text content from a specified UI element in mobile apps using element selectors and strategies. Intended for automation testing with the MCP Appium Server.
Instructions
Get text content from a UI element
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) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"selector": {
"description": "Element selector (e.g., xpath, id)",
"type": "string"
},
"strategy": {
"description": "Selector strategy: xpath, id, accessibility id, class name (default: xpath)",
"type": "string"
}
},
"required": [
"selector"
],
"type": "object"
}