agent active

Autospec

Maker: zachblume License: MIT Stars: 61 First released: 2024-05-20 Language: TypeScript
Web Autonomous

About

autospec addresses the bootstrap problem in end-to-end testing: writing the first meaningful Playwright specs for a web app is tedious, so the agent does it. Given just a URL, it crawls up to three pages, generates commonsense test specifications via an LLM, executes them in parallel with semantic browser actions (click by role, fill by label), and judges correctness from accessibility snapshots rather than rigid prior-state comparison. Passing tests are saved as standard Playwright .spec.js files in a trajectories/ folder, ready to run with npx playwright test and extend manually. Model choice (Claude, GPT, Gemini) is pluggable via the Vercel AI SDK, and no configuration beyond a URL and API key is required. QA engineers and developers use it to bootstrap e2e coverage quickly before refining specs by hand.