What problem does it solve?
Peekaboo provides a CLI to automate macOS UI tasks such as capturing screens, inspecting UI elements, driving inputs, and managing apps, enabling reproducible automation and testing.
Core Features & Use Cases
- Automate UI tasks: see UI elements, click, type, hotkeys, and window management across macOS apps.
- Screen capture and analysis: capture screenshots/videos, annotate results, and inspect UI state.
- App/Window/Dock/Menu control: launch, quit, switch apps, interact with menus and the Dock.
- Scriptable automation: run and compose commands for repeatable workflows and testing.
- Use Case: create a reproducible flow to log into a macOS app and extract UI state for verification.
Quick Start
Start with a quick validation of Peekaboo capabilities:
- permissions
- list apps --json
- see --app Safari --window-title "Login" --annotate --path /tmp/see.png
- click --on B3 --app Safari
- type "[email protected]" --app Safari --return