86 / 168 · 01 Agent Skills for Browser Automation · CI/CD Integration for AI-Driven Browser Tests← prev⊞ allnext →☰ Read as one page
12.1Principles
- Headless in CI — no display available;
--headedis a local-development flag - Fresh session per test — one named session (
-s=name) per test for isolation, closed at the end - Artifacts on failure — screenshots, YAML snapshots, agent logs, and Playwright traces where produced
- Deterministic timeouts — no infinite waits
- Exit codes matter — CI gates on pass/fail