Skip to main content

Using Claude Code, Cursor, or another coding agent? Paste this into your prompt to run cross-browser and real-device tests, debug sessions, and wire up CI on the TestMu AI cloud:
DevTools assertions let you verify data that isn’t visible on the page: HTTP network traffic, browser console output, performance metrics, cookies, localStorage, and clipboard. KaneAI captures this data automatically in the background; you just write what to check.

Available Domains

How It Works

Each DevTools domain follows the same pattern:
  1. Capture: KaneAI captures the data automatically during your test run
  2. Generate: When a checkpoint triggers, the AI generates code to query the captured data
  3. Execute: The code runs in an isolated sandbox and returns a result
  4. Assert: The result is compared against your expected value
You don’t write code. You write natural language objectives, and KaneAI handles the rest.

Examples

All Checkpoint Types Work

DevTools assertions support all three checkpoint types:
  • Assert: “Assert: no console errors”, fails the test if there are errors
  • Extract: “Store all cookies”, saves the data for later steps
  • If/Else: “If the API returned 200 then proceed, else retry”, branch on the result

Important Notes

  • DevTools data is not visible in a screenshot. KaneAI will never try to open the browser DevTools panel
  • Each domain captures data differently. See individual pages for details on timing and scope
  • All assertions run in an isolated sandbox. Generated code cannot access the file system or network