WebTest AI v2 beta

@asserthive/[email protected] is published under npm's beta tag. Use the documented exact version for this beta; the latest tag may point to an older beta.

Agent Workflows

WebTest AI is designed for agentic development without turning runtime truth into an open-ended prompt.

Recommended pattern:

  1. Let humans or agents draft Markdown specs.
  2. Run webtest-ai run for deterministic browser execution.
  3. Use reports, screenshots, traces, and CI summaries as evidence.
  4. Use webtest-ai report export for project-specific automation.
  5. Use webtest-ai mcp when an agent needs local access to reports, specs, artifacts, or explicit browser debug tools.

Model-backed commands such as discover and recorder cleanup require explicit model configuration. They should produce proposals for review, not uncontrolled rewrites.

Coding agents

Cursor Agent and Claude Code can call the local WebTest AI MCP server or CLI to run suites and inspect evidence. See Cursor and Claude Code setup for connection instructions and practical prompts.

Runtime models

The model running the coding agent is not automatically the WebTest AI navigator. Goal execution needs an explicit navigator profile (agent.profile) unless the workflow supplies actions through fixtures or an external session. Jev and OpenAI Decisions are optional element selectors, not navigators. See live model testing for navigator configuration and the external-session workflow.