Kane CLI
Kane CLI kane-cli is an AI-powered browser automation tool that runs from your terminal. Describe what you want to test in plain English: Kane CLI navigates websites, clicks elements, fills forms, extracts data, and validates outcomes in a real Chrome browser.
- Run browser tests from any terminal or IDE: no test scripts, no selectors, no framework boilerplate
- 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 web 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"
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
- 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
