160 / 168 · 01 Agent Skills for Browser Automation · Future Directions: Where AI-Driven Testing Is Heading← prev⊞ allnext →☰ Read as one page
22.5Long-Term (2028+)
Self-Writing Test Suites
The AI continuously monitors the application, detects changes, generates tests, runs them, and reports issues — with humans reviewing rather than authoring:
Application updated →
Agent detects changes →
Agent generates new tests →
Agent runs all tests →
Agent reports issues →
Developer fixes bugs → (repeat)
Visual Testing at Scale
Vision models comparing screenshots across versions, browsers, and devices. Frontier models handle this well already; per-look cost and latency still gate suite-wide use. As on-device and small vision models improve, expect visual assertion to become as cheap as text assertion.
Test-Driven Development with AI
Developer describes a feature → agent generates the test plan → agent generates the code → healer iterates until green → human reviews both. Already partially real with today's coding agents; the missing piece is trust infrastructure (evals, review gates), not capability.