Stepwright
A fluent API for writing readable, maintainable automation scripts with built-in checkpoints, retries, and rich failure context capture.
Stepwright and Fixwright together form a browser automation ecosystem with two complementary packages: Stepwright for writing automation scripts and Fixwright for AI-powered script maintenance.
Browser automation tests are notorious for breaking. Selectors change, pages get redesigned, timing issues occur. Maintaining automation scripts can take more time than writing them.
Two packages that work together:
Stepwright
A fluent API for writing readable, maintainable automation scripts with built-in checkpoints, retries, and rich failure context capture.
Fixwright
An AI-powered service that automatically detects why scripts fail and creates pull requests with fixes using Claude AI.
┌─────────────────────────────────────────────────────────────┐│ STEPWRIGHT ││ Write scripts → Run → Capture failure context on error │└─────────────────────────────┬───────────────────────────────┘ │ FailureCase (trace, screenshot, DOM) ▼┌─────────────────────────────────────────────────────────────┐│ FIXWRIGHT ││ Read failures → AI analysis → Create fix → Open PR │└─────────────────────────────────────────────────────────────┘| Feature | Stepwright | Fixwright |
|---|---|---|
| Purpose | Run automation scripts | Fix failing scripts |
| Lifecycle | Ephemeral (runs and exits) | Long-lived service |
| Requires Playwright | Yes | No |
| Requires AI API key | No | Yes (Anthropic) |
| Creates PRs | No | Yes (optional) |