Browserbase Changelog

Increased reliability for keepAlive

Keep-alive is more reliable now!

When a session is created with keepAlive: true, a protection is set on the browser. This prevents it from being stopped on disconnect. The session is only stopped if:

  • The user stops the session via the API or dashboard
  • The session expires
  • Connect stops the session due to an error

Previously, the keepAlive protection expired based on a coarse timer. It now uses more precise timing, making protection behavior more accurate and reliable.

Read more: https://docs.browserbase.com/guides/long-running-sessions#keep-alive-sessions

New and improved Contexts API

Session cookies are now fully persisted resulting in fewer session timeouts!

What changed?

Basic & Advanced Stealth were both updated such that contexts will now persist session cookies (cookies with expires: -1). The cache that is saved from session to session has been slimmed down, decreasing the rate at which contexts grow in size with persist: true.

What results should customers see?

Primarily, this increases the lifespan of the context 🎉 Sessions created with contexts are significantly less likely to time out when you try to connect.

This also means login flows are persisted across sessions more reliably.

Resources:

Native select support is out!

Browserbase now supports UI-based workflows involving native select elements! Previously, clicking on a select HTML element in the live view wouldn’t show the native options popup, which meant that the only way users could edit these elements was via keyboard. This is now fixed! Users in the live view will now see a menu as expected. Click away :)

Stagehand V2

We’re thrilled to announce the release of Stagehand 2.0, bringing significant improvements to make browser automation more powerful, faster, and easier to use than ever before.

🚀 New Features

  • Introducing stagehand.agent: A powerful new way to integrate SOTA Computer use models or Browserbase’s Open Operator into Stagehand with one line of code! Perfect for multi-step workflows and complex interactions. Learn more
  • Lightning-fast act and extract: Major performance improvements to make your automations run significantly faster.
  • Enhanced Logging: Better visibility into what’s happening during automation with improved logging and debugging capabilities.
  • Comprehensive Documentation: A completely revamped documentation site with better examples, guides, and best practices.
  • Improved Error Handling: More descriptive errors and better error recovery to help you debug issues faster.

🛠️ Developer Experience

  • Better TypeScript Support: Enhanced type definitions and better IDE integration
  • Better Error Messages: Clearer, more actionable error messages to help you debug faster
  • Improved Caching: More reliable action caching for better performance

We’re excited to see what you build with Stagehand 2.0! For questions or support, join our Slack community.

For more details, check out our documentation.

Advanced Stealth Update

Now updated for Chrome version 132 - Better defaults (like laptop sizing), new features (like realistic screen dimension sizes), and increased stealth (new device data).

Talk to our team for access, and trial, or more info!

New Inngest + Browserbase guide

Develop agents that can browse the web with Browserbase and Inngest.

There are two ways to use Browserbase with AgentKit:

  1. Create your own Browserbase tools - If you want to build simple actions on webpages with manual browser control.
  2. Use Browserbase’s Stagehand library as tools - If you want autonomous browser and resilient scraping.

Get started today

Stagehand v1.14 comes with new models & a faster "act"

The v1.14.0 Stagehand release includes performance improvements to the act() method using observe() under the hood, adds targeted extraction via XPath strings in the selector parameter, and introduces support for new AI models like GPT-4.5-preview, Claude 3-7-sonnet-latest, Cerebras LLMs, and Groq LLMs.

See the full release

New playground tutorials

We’ve added 8 new tutorials to our playground to make it easier to get started and trial features.

  • Enabled AdBlocker” to test out visiting websites with Ads
  • Two Tabs” guide for managing more than one tab
  • GitHub Sign In” tutorial to show how to sign in within Browser live view
  • Training Mode” playground for generating code
  • AI Codegen” playground to test out our AI code gen feature
  • Playwright Console” playground to test our playwright code gen
  • Advanced Tips” section with feature examples

Browserbase now has a free plan!

We’re excited to announce our new free plan for side projects & exploration. Users have always been able to test out Browserbase with 10 free browser sessions, but we’re increasing that usage to an hour of session time with 7-day data retention.

Read more (blog) & try it out today (sign up)

Customize your local browser with cookies, viewport, and more

Stagehand version 1.13 has been released with the option to customize your local browser.

Configuration highlights:

  • Chrome executable path (for pointing it at your local chrome)
  • Custom user data directory
  • Viewport settings

The release also made updates to Act() which will automatically attempt to self-heal from a stale observe result and shipped a better developer experience around iframes.

See the full release here.

Stagehand now supports Langchain

Now supported in Stagehand, Langchain is a Python and Node.js framework to build applications on top of large-language models (OpenAI, Llama, Gemini).

npm run langchain to run our new example (demo).

You can also add Browserbase to your Langchain application (docs).

New and improved Playground experience

The Browserbase Playground was built to help you quickly run sessions, generate code with AI, and debug Playwright scripts. The new version of the Playground includes a more intuitive user experience, clarified onboarding language, and an easier user interface to explore the full capabilities of browserbase.

Try it out today at browserbase.com/playground and reach out to hello@browserbase.com if you have any feedback!