find_elements
Search for UI elements in a mobile app using locators like XPath, accessibility ID, or text. Specify strategy or use auto-detection to find matching elements.
Instructions
Recherche des éléments dans l'application.
Args: locator: Le locator à chercher. Exemples : - "//*[@content-desc='MonBouton']" (XPath) - "accessibility_id=MonBouton" - "id=com.exemple.app:id/mon_bouton" - "predicate=label == 'Valider'" (iOS) - "MonTexte" (recherche par texte dans tous les attributs) strategy: "auto" (détection automatique), "text_search", ou une stratégie explicite : xpath, accessibility_id, id, name, class, android (uiautomator), predicate, class_chain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locator | Yes | ||
| strategy | No | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |