CheckOps
Expect
Expect is a source-available skill for coding agents such as Claude Code, Codex and Cursor that reads your git changes, writes a test plan and runs it in a real browser with Playwright.
- Free
- AI testing agents
- AI-enabled testing
- Web Testing
- Playwright
- Command Line
- End-to-end & functional
- Release & CI gates
Latest public signals
Not refreshed yet. Refresh reads the public site and, when the entry has a GitHub repository, the latest release.
Introduction
Expect is a skill that lets a coding agent test its own work in a real browser. You add it to Claude Code, Codex, Cursor or another supported agent, and when you run /expect it reads your git changes, generates a test plan for them and executes that plan with Playwright.
It spawns subagents that act like real logged-in users, using your actual cookies, to look for issues and regressions. The README lists what it checks: performance (long animation frames, INP and LCP), security (npm dependencies, CSRF and known vulnerabilities), design problems (broken hover states, links and buttons) and app completeness (missing metadata and dead links). The agent then fixes what Expect found and reruns it to confirm.
The maintainers position it against general computer-use agents. Rather than screenshots and mouse coordinates, Expect uses Playwright for fast DOM automation, which is quicker and more reliable for testing. It runs entirely on your machine, and a --ci flag (or add github-action) sets up a workflow that tests every pull request headlessly, skipping cookie extraction, auto-approving the plan and enforcing a 30-minute timeout.
Expect is maintained by Million (million.dev), and it auto-detects which coding agents are on your PATH.
The source code is at millionco/expect on GitHub under the FSL-1.1-MIT (Functional Source License with an MIT future licence) licence, with about 3,600 stars; the most recent commit was on 10 April 2026.
Browser agents that verify a coding agent’s work are a new category, and Expect is one of the more concrete open implementations. The key question when trying it is whether its checks are reproducible: run the same verification twice on an unchanged branch and confirm the results agree before trusting it to gate merges.
It also helps to be clear about what Expect is not. It does not replace a maintained end-to-end suite with stable assertions; it complements one by checking new or changed behaviour that nobody has written a test for yet. A practical pattern is to let it explore the change, then turn any important behaviour it confirms into a permanent Playwright or Cypress test.
Because it is pre-1.0 and under a Functional Source License, review the licence terms and pin versions in CI so an upgrade does not change behaviour unexpectedly.
Treat it as an assistant to human review, not a replacement.
Launch and background: There’s An AI For That lists the Expect repository in its test automation category.
Features
- Change-aware test plans: Reads the git diff and plans tests for what changed.
- Real-browser runs: Executes plans with Playwright.
- Logged-in subagents: Simulates users with your real cookies locally.
- Performance checks: Long animation frames, INP and LCP.
- Security checks: npm dependencies, CSRF and vulnerabilities.
- Design and completeness checks: Hover states, broken links and buttons, metadata and dead links.
- CI mode:
--ciruns headless with a 30-minute timeout. - Agent auto-detection: Works with Claude Code, Codex, Cursor and others;
-aselects one.
Pros
- Closes the agent loop: The agent that wrote the code also verifies it in a browser.
- Local-first: Runs on your machine without sending your app to a hosted service.
- Free to use: Open source under the FSL-1.1-MIT (Functional Source License with an MIT future licence) licence, so the core tool costs nothing to use.
- Actively maintained: The repository had commits as recent as 10 April 2026.
- Community: About 3,600 GitHub stars.
Cons
- Source-available licence: FSL-1.1-MIT is not an OSI open-source licence until the MIT future-licence date applies.
- Agent-dependent: Needs a supported coding agent installed.
- Young project: Version numbers are still 0.0.x.
- Not a regression suite: It plans fresh tests from diffs rather than maintaining a fixed suite.
Usage and Links (Example)
Inside your coding agent:
Fetch https://www.expect.dev/ and run init script
/expect
For pull requests:
expect add github-action # or run with --ci in your own workflow
Resources:
Pricing
Expect is free to use; the source is published under the Functional Source License 1.1 with an MIT future licence (FSL-1.1-MIT).
Recommended for?
- Developers using coding agents who want the agent to check its own UI changes.
- Small teams without QA that need a quick browser pass on every PR.
Conclusion
Expect is a lightweight way to add browser verification to agent-written code, and its Playwright-first design keeps runs quick.
Use it as a fast pre-merge check alongside, not instead of, a maintained regression suite.
On CheckOps, Expect is filed under the End-to-end & functional and Release & CI gates stages. Related tools listed here include Playwright MCP, Chrome DevTools MCP, Browser Use, Stagehand, Shortest and Vibium. A short trial on a real project, with your own code, data and pipeline, is usually the fastest way to choose between them, because fit matters more than feature lists. Facts here come from the official site, documentation and repository, checked on 11 November 2026.
Compare
CheckOps pages that put Expect next to related tools. There is no paid placement on these lists.
Roundups
Alternatives
Other tools on CheckOps that cover similar ground. Open a page, or compare one with Expect side by side.
PPlaywright MCPPlaywright MCP is Microsoft's Model Context Protocol server for browser automation, using structured accessibility snapshots.Compare with Expect
CChrome DevTools MCPChrome DevTools MCP is Google's Apache-2.0 MCP server and CLI that lets coding agents control and inspect a live Chrome: automation, network and console debugging, and performance traces.Compare with Expect
BBrowser UseBrowser Use is an open-source, MIT-licensed browser agent that can drive a real browser from natural-language tasks, with a hosted cloud billed by browser-hour rather than a subscription.Compare with Expect
SStagehandStagehand is Browserbase's MIT-licensed SDK for browser agents, mixing Playwright-style code with natural-language act, extract and observe calls and self-healing actions.Compare with Expect
SShortestShortest is an MIT-licensed natural-language end-to-end testing framework from Antiwork, built on Playwright and executed by Anthropic's Claude.Compare with Expect
VVibiumVibium is an Apache-2.0 browser automation tool for AI agents, built on WebDriver BiDi, usable as an agent skill, an MCP server or a JS, Python or Java library.Compare with Expect