Overview
End-to-end tests are essential but expensive to maintain. Playwright and Selenium tests break every time the UI changes — a renamed CSS class, a restructured form, a redesigned navigation. Teams spend more time fixing selectors than catching bugs. Refrain replaces brittle test scripts with self-healing runbooks. Describe what each test should verify, generate a runbook, and integrate it into your CI/CD pipeline. When the UI changes, the runbook adapts — no test code to maintain.Example runbook
Generate and execute
Why this works well
- No test code — Runbooks replace Playwright/Selenium scripts. No selectors to maintain.
- Self-healing — UI changes are handled automatically. Tests don’t break on redesigns.
- CI/CD native — Run via CLI in any pipeline — GitHub Actions, GitLab CI, Jenkins, etc.
- Visual debugging — Use
--headless falseand--screenshotsto debug failures visually.