Playwright Extension
AI-powered Playwright extension that adds autonomous test automation, self-healing, and structured data extraction to your existing test suite.
Getting started
- Introduction — What Donobu is and how it relates to Playwright
- Installation & Setup — Install and configure Donobu
- Quick Start — Write and run your first test
- Playwright Configuration Reference — Recommended
playwright.config.tssettings - AI Provider Configuration — Choose and configure the underlying LLM
- Caching System — How flows are cached and replayed
- Self-Healing Tests — Automatic test repair when the UI changes
API reference
page.ai()— Autonomous AI Flow- Supplementary
page.ai.*methodspage.ai.assert— Natural-language assertionspage.ai.extract— Structured data extractionpage.ai.analyzePageText— Free-form page analysispage.ai.createCookieReport— Cookie audit report
- Additional page methods
page.find— Smart selector with failoverpage.changeTab— Multi-tab supportpage.runAccessibilityTest— axe-core accessibility audit
- Available Tools Reference — All built-in tools
page.aican invoke
Running tests
- Donobu Playwright Enhancements and Fixtures — The enhanced
pagefixture,gptClient,storageState, and test report attachments - CI/CD Integration — GitHub Actions, result export, cache strategy
- CLI Reference —
npx donobu testand all command-line options - Viewing Test Results in Donobu Studio — Studio interface and run inspection
- Environment Variable Interpolation —
{{$.env.VAR_NAME}}syntax and cache-safe dynamic values
Guides
- Best Practices — Writing reliable, maintainable, cost-efficient tests
- Troubleshooting & FAQ — Common errors and debugging tips
Advanced topics
- BrowserBase Integration — Cloud browser sessions
- Custom Tools & Persistence Plugins — Extend Donobu with custom tools and storage backends
page.run()— Direct Tool Invocation — Bypass AI orchestration for deterministic tool calls- Proxy Configuration — Route browser traffic through an HTTP proxy