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 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
kane-cli run "Go to <your-store-url>, search for 'iPhone', open the first result, add it to the cart, then verify the cart lists an iPhone" \
--agent --headless --name iphone-cart
kane-cli testmd run .testmuai/tests/iphone-cart_test.md --agent --headless
Run the same flow through Playwright MCP, count the responses with one tokenizer, and compare. If you get very different numbers, post the flow and the versions in the comments.
This measurement was first published in Playwright CLI vs Playwright MCP: Which Should Your Coding Agent Use?, which also covers Playwright CLI.