A command-line tool for capturing and automating the macOS user interface.
This skill provides a powerful command-line interface for automating the macOS user interface. It allows you to capture screenshots, inspect UI elements, and simulate user input, making it an essential tool for UI testing and automation.
The peekaboo skill offers a wide range of commands for UI automation.
To take a screenshot of the entire screen, use the image command.
peekaboo image --mode screen --path screenshot.png
To get a visual representation of the UI elements on the screen, use the see command.
peekaboo see --annotate --path ui-map.png
Once you have identified a UI element, you can simulate a click on it.
peekaboo click --on <element-id>
You can also simulate typing text into a focused input field.
peekaboo type "Hello, world!" --return