get_elements_by_test_id
Locate visible UI elements in a React Native app by their testID. Falls back to context analysis and correction suggestions if no match found.
Instructions
Find visible elements matching a React Native testID. Use exact first, then contains. If none, call get_screen_context + get_test_id_remediation_plan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | No | ||
| testId | Yes | ||
| maxDepth | No | ||
| maxNodes | No | ||
| limit | No | ||
| clickableOnly | No | ||
| includeTextless | No | ||
| skipVisibilityCheck | No | ||
| testIdMatch | No |