millionco/expect

Expect tests your agent's code in a real browser

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 60 minutes ago
Added to GitGenius on September 19th, 2026
Created on March 12th, 2026
Open Issues & Pull Requests: 23 (+0)
GitHub issues: Enabled
Number of forks: 157
Total Stargazers: 3,551 (+0)
Total Subscribers: 11 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 10.6 hours
Mean response time: 3.1 days
90th percentile: 7.3 days
Tracked items: 46

Most active contributors

Sign in to see contributor activity.

How this project is maintained

About 8% of issues opened in the past year have never received a reply. 68% of issues opened in the past year have been closed, leaving a working backlog. Three people close 92% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 16
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 147 days
Stale 30+ days: 16
Stale 90+ days: 14

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Expect is a testing skill that validates agent-generated code in a real browser.

Expect addresses the challenge of automatically testing code changes made by AI agents without requiring manual test script maintenance. It works by reading git changes, generating a test plan based on those modifications, and executing that plan in a real browser using Playwright. The tool integrates directly into existing agent environments like Claude Code and Codex, running entirely on the developer's machine. It checks for performance issues like long animation frames and Core Web Vitals, security concerns including npm vulnerabilities and CSRF attacks, design problems such as broken hover states and links, and application completeness by verifying metadata and detecting dead links. When issues are found, the agent receives a report and can automatically fix problems and re-run verification.

Expect suits developers who use AI coding agents and want automated QA without writing and maintaining test selectors and assertions. It differs from general-purpose browser automation tools like Puppeteer or Cypress by being purpose-built for testing: rather than relying on screenshots and mouse coordinates, it leverages Playwright for fast DOM automation and reads actual code changes to generate targeted test plans. The tool works in CI environments through a headless mode that can be configured via command-line flags or GitHub Actions, automatically approving test plans and enforcing timeouts. Developers can customize testing with natural language instructions, reuse saved test flows, specify target URLs, and choose between headed and headless browser modes. The tool supports multiple agent providers including Claude, Codex, Copilot, and Gemini.

Development activity shows consistent engagement with the codebase through regular updates and refinement of core functionality. The project maintains active support for multiple agent integrations and continues expanding its testing capabilities. Documentation is thorough, with clear examples and a comprehensive FAQ addressing common questions about the tool's approach and capabilities.