name: test-desktop-app description: Use when testing the Hubble Electron desktop app, especially when inspecting, clicking, screenshotting, or verifying a real note edit in the running app.
Test Desktop App
- Run
HUBBLE_DESKTOP_ENABLE_CDP=1 pnpm dev:desktop. - Read the terminal output for:
Playground: <path>DevTools listening on ws://127.0.0.1:9222/...
- Use the auto-opened editable playground at
apps/desktop/.dev-electron/playgroundinstead of file pickers or checked-in fixtures. - Prefer the Chrome DevTools Protocol endpoint for interaction-heavy verification. It can inspect DOM state, evaluate JavaScript, click controls, inspect iframe contents, and capture screenshots from the real Electron renderer. This is useful when Computer Use has limitations interacting with the dev app window.
- For CDP setup, fetch
http://127.0.0.1:9222/json/list, connect to the pagewebSocketDebuggerUrl, and drive the renderer with DevTools Protocol commands. - When you're done, stop the dev server and confirm no
Hubble Devprocess remains.