Documentation
README
External Electron App Automation
Use this skill for external Electron desktop apps running on the user's machine. Do not default to this for this repository's own Electron app unless the user explicitly asks.
Core workflow
- Quit the app if it is already running.
- Relaunch the app with
--remote-debugging-port=<port>. - Connect with
npx libretto connect http://127.0.0.1:<port> --session <session>. - Verify targets with
npx libretto pages --session <session>. - Run interactions with
npx libretto exec "<code>" --session <session>. - Capture evidence with
npx libretto snapshot --session <session>. - When a reusable workflow file is ready, execute it with
npx libretto run ./workflow.ts --cdp http://127.0.0.1:<port>(optional--page page-N).
This is the opening of the README. Read the full README on GitHub.