appium_verify_locator
Counts live-screen matches for each locator so you can confirm exactly one safe match, flag ambiguous multiple matches, and detect absent elements before using locators in test code.
Instructions
Count matches for each locator on the live screen. Only a count of exactly 1 is safe to put in test code; >1 is ambiguous, 0 is absent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locators | Yes | Locators to check, same grammar as wait_for. | |
| sessionId | No | Session ID; defaults to the active session. |