{"repo":"zachblume/autospec","free":true,"listed":false,"github":"https://github.com/zachblume/autospec","clone":"git clone https://github.com/zachblume/autospec.git","description":"Autospec is an open-source AI agent that takes a web app URL and autonomously QAs it, and saves its passing specs as E2E test code","language":"TypeScript","stars":61,"topics":["ai","e2e","gemini","gpt","gpt-4","playwright","test","end-to-end","gemini-flash","openai"],"license":"MIT","category":"ai-agents","readme_excerpt":"autospec Open source end-to-end (e2e) test generation for web apps Autospec is an AI agent that autonomously explores your web application, generates commonsense test specifications, and executes them — producing reusable Playwright test files. It uses vision and language models to mimic real user judgement on the entire UI after each interaction, deciding whether behavior is correct rather than checking for regressions against rigidly defined previous behavior. - Tests new features immediately after implementation, not just regressions. - Requires no configuration — point it at a URL and go. - Generates standard Playwright .spec.js files you can re-run anytime. Quick start Generate and run 10 specs on TodoMVC: You'll need to say \"yes\" to install the autospecai package, and the first run may take a few minutes to download dependencies like browser binaries. When the run completes, you'll see a summary of passed and failed tests. Passing specs are saved as Playwright test files in the trajectories/ folder alongside video recordings and screenshots. Re-run them anytime: Depending on your existing Playwright setup, you may need to add \"trajectories\" to the testDir in your playwright.config.js file. Using environment variables instead of passing keys as a flag Copy the sample .env file and fill in the API key for your chosen model: Configuration How it works 1. Plan — Crawls up to 3 pages from your URL, captures accessibility snapshots, and asks the model to generate test specs. ","default_branch":null,"files":null,"tree":[],"storefront":"/r/zachblume","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zachblume/autospec/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}