Student builds 4-agent Playwright web tester on local Llama 3.2, shares grounding fixes

Acceptable_Army_6472 · reddit · 2026-12-03

A college student built an autonomous web testing tool for a capstone, splitting it into four Python + Playwright roles instead of one big ReAct loop:

He's transparent that live testing so far is only on SauceDemo plus unit tests — no heavy React SPAs, iframes, shadow DOM or multi-site benchmarks yet. Key lessons with small local models: the model invents button labels, requiring exact matching plus retry with error feedback; without credentials it loops Login→Dismiss→Login until state-oscillation detection exits cleanly as BLOCKED; and URL-change alone can't verify a pass — it once clicked the wrong product, reached checkout, and nearly reported success. He asks the community how to keep 3B–8B models grounded on 40+ button pages, and whether exporting deterministic Playwright tests from successful agent runs is the right next step.

Original post →

More from coding & agent

coding & agent channel →