AI-Powered Automated Browser Testing CLI
2.6k 2026-03-28
millionco/expect
Automates browser testing by generating and executing test plans from code changes using AI agents in a real browser.
Core Features
AI-driven test plan generation from Git changes (unstaged, branch diff).
Automated test execution in a real browser using Playwright.
Interactive TUI for plan review or headless mode for CI/CD integration.
Records every test session for easy replay and debugging.
Seamlessly integrates with existing login sessions, no manual auth setup.
Quick Start
npx -y expect-cli@latest initDetailed Introduction
Expect is an innovative command-line interface tool designed to streamline the software testing workflow. It intelligently scans your code changes, leveraging advanced AI agents like Claude or Codex to automatically generate comprehensive, step-by-step test plans. These plans are then executed in a live browser environment via Playwright, ensuring real-world validation. This tool significantly reduces the manual effort in writing and maintaining test scripts, enabling developers to quickly validate their changes, integrate testing into CI/CD pipelines, and maintain high code quality with minimal overhead.