Playwright Extension

AI-powered Playwright extension that adds autonomous test automation, self-healing, and structured data extraction to your existing test suite.

Getting started

  1. Introduction — What Donobu is and how it relates to Playwright
  2. Installation & Setup — Install and configure Donobu
  3. Quick Start — Write and run your first test
  4. Playwright Configuration Reference — Recommended playwright.config.ts settings
  5. AI Provider Configuration — Choose and configure the underlying LLM
  6. Caching System — How flows are cached and replayed
  7. Self-Healing Tests — Automatic test repair when the UI changes

API reference

  1. page.ai() — Autonomous AI Flow
  2. Supplementary page.ai.* methods
  3. Additional page methods
  4. Available Tools Reference — All built-in tools page.ai can invoke

Running tests

  1. Donobu Playwright Enhancements and Fixtures — The enhanced page fixture, gptClient, storageState, and test report attachments
  2. CI/CD Integration — GitHub Actions, result export, cache strategy
  3. CLI Referencenpx donobu test and all command-line options
  4. Viewing Test Results in Donobu Studio — Studio interface and run inspection
  5. Environment Variable Interpolation{{$.env.VAR_NAME}} syntax and cache-safe dynamic values

Guides

  1. Best Practices — Writing reliable, maintainable, cost-efficient tests
  2. Troubleshooting & FAQ — Common errors and debugging tips

Advanced topics