get_element_info
Retrieve UIA element properties and ranked selector suggestions for test automation, providing the best locator after finding an element.
Instructions
Retrieve all key UIA properties of an element and get ranked selector suggestions for test automation. Returns: Name, AutomationId, ClassName, ControlType, IsEnabled, and a prioritized list of selectors. ALWAYS call this after find_element when generating automated test code — it gives you the best locator to use. Selector reliability order: accessibility id (AutomationId) = highest → name → xpath → class name = lowest. For .NET/C# Appium: use MobileBy.AccessibilityId(automationId) when AutomationId is non-empty.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elementId | Yes | Element ID returned by find_element |