Kane CLI
Kane CLI kane-cli is an AI-powered test automation tool that runs from your terminal. Describe what you want to test in plain English: Kane CLI navigates, clicks elements, fills forms, extracts data, and validates outcomes in a real Chrome browser, or in a native mobile app on a virtual device.
- Run tests from any terminal or IDE: no test scripts, no selectors, no framework boilerplate
- Test the web and native mobile apps: the default target is the desktop browser, and on macOS Apple Silicon you can point the same objective at an Android Emulator or iOS Simulator. See Mobile Testing
- Integrate into CI/CD pipelines: headless mode with structured JSON output and standard exit codes
- Use as a skill in AI coding agents: Claude Code, Codex CLI, and Gemini CLI can invoke Kane CLI directly to test and verify UIs on your behalf
# Install
npm install -g @testmuai/kane-cli
# Authenticate
kane-cli login
# Run your first test
kane-cli run --url https://example.com "Click the 'More information' link and verify the page loads"
Supported IDEs
Kane CLI runs from the integrated terminal of your editor, so you can drive browser tests without leaving your development environment. It is supported in:
- Cursor
- Antigravity
- VS Code
- Codex
- Kiro (AWS)
- Eclipse-based IDEs
- Web-based IDEs
Three Modes
| Mode | Command | Best For |
|---|---|---|
| Interactive TUI | kane-cli --tui | Development, exploration, chained multi-run sessions |
| Non-Interactive CLI Mode | kane-cli run "..." --headless --agent | CI/CD pipelines, shell scripts |
| Agent Mode | kane-cli run "..." --agent | AI coding agents (Claude, Codex, Gemini) |
Next Steps
- Installation: Install Kane CLI and verify your setup
- Quick Start: Authenticate and run your first test in 5 minutes
- Authentication: OAuth, basic auth, and profile management
- Writing Objectives: Learn how to write effective natural language objectives
- Configuration: Window size, Chrome profiles, Test Manager project, and run mode
- Mobile Testing: Run tests against a native app on the Android Emulator or iOS Simulator
- Test Manager Integration: Uploads, share links, code export, and session history
- Agent Mode: Use Kane CLI with AI coding agents
- CI/CD Integration: Add Kane CLI to your pipeline
- Skills: Install the Kane CLI skill for Claude, Codex, or Gemini
