find-by-text
Generate XPath expressions to locate mobile app elements by text content for Android or iOS automation testing with Appium.
Instructions
Generate XPath to find element by text
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to search for | |
| platformName | Yes | Platform to generate XPath for | |
| exactMatch | No | Whether to match the text exactly (default: true) | |
| elementType | No | Filter by element type (e.g., android.widget.Button) |