
- Agent
- Tools
- Computer Use
- Playwright
page and context objects from Playwright to give you full control over the browser session.
Stagehand works on any Chromium-based browser (Chrome, Edge, Arc, Dia, Brave, etc.). It is built and maintained by the Browserbase team.
For best results, we strongly recommend using Stagehand on Browserbase.
Lights, Camera, act()
Let’s get you started with Stagehand.
Quickstart
Build reliable browser automations in no under 1 minute!
Vibe code
Use Director to generate Stagehand scripts
Why Stagehand?
The simple answer is that existing solutions are either too brittle or too agentic. You might’ve heard of OpenAI Operator, which is a web agent that uses Playwright to take actions on a website. While OpenAI Operator is a great tool, it is completely agentic; agents leave you at the mercy of AI to do the right thing over a large number of tasks. Agents are fundamentally designed for one-shotting tasks, not repeatability. Put simply, you can’t control what an agent does.What about Playwright, Puppeteer, and Selenium?
Those who have used traditional web automation frameworks know the pain of maintaining scripts on live websites. If you don’t own the website, you can’t control what the DOM looks like. As a result, Playwright, Puppeteer, and Selenium force you to write brittle code that breaks when the website makes even the slightest UI change.Stagehand gives you control over your browser automations
By combining agents, tools, and Playwright, Stagehand lets you write deterministic code that is resilient to unpredictable DOM changes.- Repeatability: Write code that can be repeated exactly the same way every time.
- Resilience: Write code that is resilient to unpredictable DOM changes.

