Playwright provides reliable cross-browser automation that handles the full spectrum of modern web interactions — JavaScript-rendered pages, shadow DOM elements, network interception, and authenticated sessions. Gary’s primary application is production-grade web scraping for the AI-Powered Job Search Agent, which monitors 1,975 companies across 11 ATS platforms, processing 58,807 jobs per week.
The job search system exposed the full range of scraping challenges: clean JSON APIs (Greenhouse, Lever, Ashby), legacy CGI forms with uppercase GO buttons, React/Angular SPAs with delayed rendering, and custom career page builders that defy classification. Each required different Playwright strategies — from simple HTTP fetch proxies to full headless browser sessions with scroll, click, and mutation observer patterns. The result is 127 distinct job retrievers with automated classification and fallback logic.
Playwright also serves as the foundation for agentic UI testing using user story YAML definitions and screenshot-per-step debugging trails. This approach pairs with Claude’s visual analysis capabilities to produce automated test reports that identify regressions without requiring brittle CSS selectors. The combination of deterministic browser control and AI-powered visual inspection covers both functional correctness and design consistency across development cycles.