
I built an open-source AI agent that writes and runs E2E tests — here's what I learned
The Problem Every new project, same story: write login tests, write form validation tests, write navigation tests. Copy-paste from the last project, tweak selectors, pray nothing breaks. After 25 years in IT, I decided to automate the boring part. I built AWT (AI Watch Tester) — an open-source tool where you enter a URL, and AI writes the tests for you. How It Works Enter a URL — that's your only input AI scans the page — analyzes DOM structure + takes screenshots Generates test scenarios — login flows, form validation, navigation checks Runs them with Playwright — real browser, real clicks, real screenshots No selectors to write. No test scripts to maintain. AI handles the planning, Playwright handles the execution. "Can't Claude/GPT Just Do This with Computer Use?" Fair question. I get it a lot. Computer Use is a general-purpose GUI agent — it can click buttons and type text. But for E2E testing, you'd still need: Docker environment setup Screenshot pipeline management Result parsing
Continue reading on Dev.to Webdev
Opens in a new tab



