Skip to content

Introduction

Introduction to Autowright

Autowright is a browser automation framework that combines Stepwright for writing automation scripts and Fixwright for AI-powered test maintenance.

The Problem

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.

The Solution

Autowright addresses this with two complementary packages:

Stepwright

A fluent API for writing readable, maintainable automation scripts with built-in checkpoints, retries, and artifact capture.

Fixwright

An AI-powered service that automatically detects why tests fail and proposes fixes using Claude AI.

How It Works

  1. Write scripts with Stepwright - Use the fluent API to create automation scripts
  2. Run scripts - Execute scripts with artifact capture enabled
  3. When scripts fail - Stepwright captures screenshots, DOM, and error details
  4. Fixwright analyzes failures - AI examines the failure and proposes fixes
  5. Automatic PR creation - Fixes are committed and PRs are created

Key Features

  • Fluent API - Chain steps together for readable scripts
  • Checkpoints - Group steps with automatic retries
  • Data Management - Pass data between steps
  • Artifact Capture - Screenshots, DOM snapshots, console logs
  • AI Fixing - Claude AI analyzes failures and suggests fixes
  • Git Integration - Automatic branches and PR creation
  • TypeScript First - Full type safety throughout

Next Steps