{"library":"expect-cli","type":"library","category":null,"description":"expect-cli is a command-line interface tool designed to enable AI agents to test web applications in a real browser environment. It leverages browser automation tools like Playwright to record user sessions, generate test plans, and perform diffing against expected outcomes, often integrating with version control systems like Git. The current stable version is 0.1.3. Given its low version number and frequent updates (as seen in the release logs), it appears to have a rapid, iterative release cadence. It differentiates itself by explicitly targeting AI agents for automated test generation and execution, moving beyond traditional script-based automation towards more autonomous, intelligent testing within a live browser context.","language":"javascript","status":"active","version":"0.1.3","tags":["javascript","agents","ai","browser-automation","cli","git-diff","playwright","session-recording","test-plan","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install expect-cli","imports":["import { spawn } from 'child_process';\nspawn('npx', ['expect-cli', 'test'], { stdio: 'inherit' });","import type { ExpectCLIOptions } from 'expect-cli';","// Primary interaction is via CLI, no direct module import for execution."]},{"cmd":"yarn add expect-cli","imports":[]},{"cmd":"pnpm add expect-cli","imports":[]}],"homepage":"https://expect.dev","github":"https://github.com/millionco/expect","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/expect-cli","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/expect-cli/compatibility"}}