Stagehand
ActiveDescription
Browserbase's AI browser automation SDK blending code with natural language.
Key Features
- Code + natural language — act/extract/observe primitives
- Playwright compatible — Reuse existing Playwright code
- Self-healing — Auto-retry on element lookup failure
- Multi-model — OpenAI, Anthropic, Cerebras
- Cloud browser — Pairs with Browserbase
Use Cases
💡 Build self-healing browser automation scripts.
💡 Incrementally add AI to Playwright projects.
💡 End-to-end testing for SaaS products.
Categories
Quick Start
npm i @browserbasehq/stagehand
import { Stagehand } from '@browserbasehq/stagehand'
const stagehand = new Stagehand()
await stagehand.init()