Playwright MCP vs Kane CLI: 42,333 vs 2,056 tokens TestMu AI (formerly LambdaTest) measured token consumption for two ways a coding agent can drive browser testing: Playwright MCP versus its own Kane CLI. In a single iPhone add-to-cart flow on its Ecommerce Playground, Playwright MCP with full snapshots returned 42,333 tokens to the calling agent across 12 tool calls, while Kane CLI returned 2,056 tokens in one command; using Playwright's browser_find cut the MCP figure to 4,076 tokens. The team attributed most of the snapshot cost to page reads, with the store's home page alone accounting for 20,116 tokens, and noted the Kane CLI run took 96.7 seconds versus 15 seconds of browser time for MCP. When a coding agent tests a web app through Playwright MCP, its own model drives the browser one tool call at a time and decides whether the test passed. With Kane CLI, which we build at TestMu AI formerly LambdaTest , the agent hands one plain-English objective to a separate browser agent and gets back a pass or fail with evidence. We wanted to know how much text each approach puts in front of the calling agent, so we ran the same flow both ways and counted every response. The short version: browser find : The headline gap is against full snapshots. Against browser find , the gap is much smaller. This is one flow, so treat it as one data point. On TestMu AI's Ecommerce Playground: browser snapshot before each action. In the second, it uses browser navigate and browser click save the snapshot to a file and return only a link, so the agent has to ask for the page again before its next action. --agent --headless , then replayed the saved test. o200k base tokenizer. | Measure | Playwright MCP, full snapshots | Playwright MCP, browser find | Kane CLI, first run | Kane CLI, replay | |---|---|---|---|---| | Setup text loaded | 4,396 tokens of tool definitions | 4,396 tokens of tool definitions | 1,784 tokens, if the agent reads the hosted skill | Same skill, already read | | Calls from the agent | 12 tool calls | 12 tool calls | 1 command | 1 command | | Text returned to the agent | 42,333 tokens | 4,076 tokens | 2,056 tokens in 24 NDJSON lines | 3,575 tokens in 53 NDJSON lines | | Final result line only | None; the agent decides | None; the agent decides | 764 tokens | 65 tokens | | Browser time | 15 seconds, plus the agent's thinking on 12 turns | 15 seconds, plus the agent's thinking on 12 turns | 96.7 seconds, reasoning included | 23 seconds | | Kane CLI credits | None | None | 22.8 credits | None | All four runs confirmed an iPhone in the cart. Snapshots are the cost. With full snapshots, four page reads made up 41,385 of the 42,333 tokens. The store's home page alone was 20,116 tokens: a 1,360-line accessibility tree with 1,156 element references. browser find helps, if the agent knows what to look for. Searching for "Search For Products" or "Add to Cart" cut the reads to a few hundred tokens each. The search-results page still returned 2,241 tokens, because "iPhone" matched every product card. Kane CLI's result is small and structured. The agent can read only the final run end line, which carries the status, a summary and the values Kane CLI extracted. Approval checks add up. The Playwright MCP flow made 12 MCP tool calls. In Cursor, that means 12 prompts under an empty allowlist, or 12 classifier reviews under Auto-review. The Kane CLI command needed at most one. Only Run Everything skips the checks. The difference is who decides. Playwright MCP hands the agent browser snapshots and leaves the judgment to the model. Kane CLI runs the objective itself and hands the agent a verdict. Kane CLI https://www.testmuai.com/kane-cli/ installs from npm. This is the shape of the two Kane CLI runs, a first run saved by name and then a replay: npm install -g @testmuai/kane-cli kane-cli login --oauth First run, saved so it can be replayed kane-cli run "Go to