wait_for_text
Wait until specified text appears on the Android screen by periodically checking the UI hierarchy, with a configurable timeout. Avoids fixed waits and proceeds when content is ready.
Instructions
Var, amig egy adott szoveg megjelenik a kepernyon (ui_dump-ot ismetel).
Hasznos, hogy az agent ne 'tuti X masodpercet' varjon minden lepes utan, hanem tenylegesen addig probalkozzon, amig a keresett UI elem meg nem jelenik (pl. betoltodik egy oldal), de legfeljebb timeout_seconds-ig. Konkret elemre varashoz (resource-id/osztaly alapjan is) hasznald a 'wait_for_element' tool-t.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| serial | No | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |