wait_for
Pause execution until a UI element appears or disappears in a macOS app. Use after actions that open dialogs, load pages, or show spinners.
Instructions
Wait until an element matching find (role or label, like inspect find) appears in the app, or disappears with gone=true. Use after actions that open dialogs, load pages, or show spinners.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | Process name, e.g. "TextEdit". Defaults to the frontmost app. Works on background apps. | |
| find | Yes | ||
| gone | No | ||
| timeout | No | Seconds |