Stably SDK is the engine behind both Stably CLI and Stably Web Editor — the same Playwright-compatible runtime executes your tests in code and no-code workflows.
Stably is 100% Playwright-compatible: keep your
playwright.config.*, fixtures, locators, and CLI habits while layering in AI assertions, actions, and self-healing.Keep Playwright, Add Stably
- Works with your current
playwright.config.*, fixtures, andexpectmatchers - Supports standard commands like
npx playwright test; usenpx stably testto enable auto-heal and richer triage - No breaking changes to page interactions, locators, or custom utilities
AI Capabilities at a Glance
- AI-powered assertions: Intent-based visual checks with
toMatchScreenshotPrompt. - Agent actions: Natural-language flows that handle multi-step UI work.
- Auto-maintenance: Keeps locators stable and reduces flakes as your app evolves.
Call the Stably API Directly
Use the Stably REST API when you need to trigger runs, poll status, or pull results without invoking the Playwright runner directly. Authentication uses a Bearer token—see the API key dashboard and the API reference for required headers and full endpoint details.Getting Started
Follow the SDK Setup Guide to install the package, swap in the Stably runner import, and enable AI features.
Adopt Gradually
- Start by running existing tests with the Stably import to validate compatibility.
- Migrate critical journeys first, then layer on AI assertions and actions where they reduce flaky maintenance.
- Keep your preferred Playwright versioning and tooling; Stably fits into your current CI, CLI, and editor workflows.