Hero Background

Next-Gen App & Browser Testing Cloud

Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles

Next-Gen App & Browser Testing Cloud
ProductAI

Claude Code Writes It. Kane CLI Proves It Works.

Claude Code can write the code but not confirm it works in a browser. See how Kane CLI gives your agent a real verification loop in plain English, pass or fail.

Author

Bhawana

Author

June 23, 2026

Claude Code is good at writing code. It scaffolds a feature, wires the API, builds the UI, and hands you something that compiles. What it cannot reliably do is open a real browser and confirm the feature actually works for a user.

So you do it. The agent finishes, and you click through the flow yourself to check. Every feature, every run, every time. The agent moves fast right up until the part where a human has to verify it by hand.

Kane CLI closes that last gap. Here is how the two work together.

What Claude Code Does Well, and the One Thing It Cannot

An AI coding agent reasons about code well. It reads your repo, follows your patterns, and produces a working diff. It can even guess whether the result looks right.

What it cannot do on its own is run the rendered app the way a user would and know, for certain, that the login set the session, the cart updated, and the page showed what it should. Looking right and being right are different things. The agent has no deterministic way to tell them apart.

That is not a prompt problem. It is a missing tool. The agent needs a real browser and a clear pass or fail.

Note

Note: Give your agent a real browser and a deterministic pass or fail. Start free. Try Kane CLI

How Claude Code and Kane CLI Close the Loop Together

Claude Code and Kane CLI verification loop

Give Claude Code one new tool and the loop closes. Claude Code writes the feature. It calls Kane CLI. Kane CLI opens a real Chrome browser, runs the flow described in plain English, and returns a structured pass or fail.

Claude Code reads that result. On a pass, it moves on. On a fail, it gets the reason, the failing step, and the evidence, then fixes the code and runs it again. The same agent that wrote the feature now verifies the feature, with no human in the middle.

Wiring Kane CLI into Claude Code in One Step

Install Kane CLI, then add its skill where Claude Code can find it.

npm install -g @testmuai/kane-cli
kane-cli login

Drop the Kane CLI skill into ~/.claude/skills/kane-cli/. Claude Code loads it automatically, and from then on it recognizes browser tasks and calls Kane CLI on its own.

For agent runs, Kane CLI speaks a format the agent can parse. Use agent mode and read the last line.

kane-cli run "go to https://yourapp.com, log in as '{{user}}', assert the dashboard shows 'Welcome'" --agent --headless
kane-cli run "..." --agent 2>/dev/null | tail -1 | jq .

Output is one JSON object per line. The final run_end line carries the status, a summary, any values you asked it to extract, the duration, and a link to the full run. Claude Code reads that line and decides what to do next.

Note

Note: Want the full agent mode and skill setup? Read the Kane CLI docs. Read the docs

What Changes Once Your Agent Can Verify Its Own Work

Agent writes, Kane CLI verifies pass or fail

The loop stops needing you in the middle. Claude Code can run a flow, read the result, diagnose a failure from the logs and screenshots, fix it, and rerun, all in one pass. It can even spin up parallel runs across sub-agents to check several flows at once.

You stop being the verification step. You review outcomes instead of every click. The agent ships code it has actually confirmed works, with a shareable link as proof.

Note

Note: The Claude Code skill lives in the repo. Grab it and the examples to set it up. Open the repo

Claude Code already writes the code. With Kane CLI, it can prove the code works, in plain English, in a real browser, before it ever reaches you or a user.

Author

Bhawana is a Community Evangelist at TestMu AI with over 3 years of experience creating technically accurate, strategy-driven content in software testing. She has authored 50+ blogs on test automation, cross-browser testing, mobile testing, and real device testing. She also serves as Product Marketing Manager for Kane CLI, the command-line tool that runs browser automation from the terminal using natural-language flows in a real Chrome browser. Bhawana is certified in KaneAI, Selenium, Appium, Playwright, and Cypress, reflecting her hands-on knowledge of modern automation practices. On LinkedIn, she is followed by 6000+ QA engineers, testers, AI automation testers, and tech leaders.

Open in ChatGPT Icon

Open in ChatGPT

Open in Claude Icon

Open in Claude

Open in Perplexity Icon

Open in Perplexity

Open in Grok Icon

Open in Grok

Open in Gemini AI Icon

Open in Gemini AI

Copied to Clipboard!
...

3000+ Browsers. One Platform.

See exactly how your site performs everywhere.

Try it free
...

Write Tests in Plain English with KaneAI

Create, debug, and evolve tests using natural language.

Try for free

Did you find this page helpful?

More Related Hubs

TestMu AI forEnterprise

Get access to solutions built on Enterprise
grade security, privacy, & compliance

  • Advanced access controls
  • Advanced data retention rules
  • Advanced Local Testing
  • Premium Support options
  • Early access to beta features
  • Private Slack Channel
  • Unlimited Manual Accessibility DevTools Tests