Stagehand v3
Introducing Stagehand v3! 🤘
This marks the beginning of a new foundation for Stagehand, going closer to the metal and providing more flexibility, speed, and control over the browser. We hope this inspires you to help us shape the future of web automation
Featuring:
- A generous 20-40% speed increase across
act,extract, &observecalls - Compatibility with Playwright, Puppeteer, and Patchright
- Automatic action caching (agent, stagehand.act). Go from CUA → deterministic scripts w/o inference
- A suite of non AI primitives:
pagelocator(built in closed mode shadow root traversal, with xpaths & css selectors)frameLocatordeepLocator(crosses iframes & shadow roots)
- bun compatibility
- Simplified extract schemas
- CSS selector support (id-based support coming soon)
- Targeted extract and observe across iframes & shadow roots
- More intuitive type names (observeResult is now action, act accepts an instruction string instead of an action string, solidified ModelConfiguration)