Skip to main content

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

1

Generate the test runbook

2

Run locally

3

Integrate into CI/CD

Add the execute command to your CI pipeline:

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 false and --screenshots to debug failures visually.

What’s next

Self-heal mode

Auto-fix test runbooks when the app changes.

CLI reference

All execute command options for CI integration.