Using Claude Code, Cursor, or another coding agent? Paste this into your prompt to run cross-browser and real-device tests, debug sessions, and wire up CI on the TestMu AI cloud:
Step 1: Install
kane-cli --version prints a version number, you are ready. See Installation for platform requirements and troubleshooting.
Step 2: Authenticate
- OAuth (Recommended)
- Basic Auth
- CI/CD
~/.testmuai/kaneai/profiles/.Step 3: Open the TUI
Runkane-cli --tui:
/ are slash commands such as /help, /config, /cancel, and /exit.
Step 4: Run Your First Test
At the chat prompt, type a natural-language objective and press Enter:Ctrl+C once. Pressing it twice exits Kane CLI.
Step 5: Or Run from the Command Line
For scripting and CI, skip the TUI and use therun subcommand:
Capture results in a shell script:
What Happens at the End of a Run
When the session ends, Kane CLI uploads the run to Test Manager and prints a share link. For details on the upload, the share-link experience, and the run mode toggle, see Test Manager Integration. To change settings like window size, Chrome profile, or the active project and folder, see Configuration.Next Steps
- Writing Objectives: Learn the three patterns: actions, assertions, extractions
- Modes of Operation: Understand Interactive TUI, Headless CLI, and Agent Mode
- Authentication: Manage profiles and credential methods
- Variables & Context: Parameterize tests with credentials and project-specific context
- Mobile Testing: Point the same objective at an Android Emulator or iOS Simulator
- CI/CD Integration: Add Kane CLI to your pipeline