Browserbase Changelog

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!

Stagehand version 1.11 improves speed and accuracy

Lot of new changes for observe this week. If you set the returnAction flag to true, it’ll return the suggested Playwright method to run.

Also, Stagehand leverages the accessibility (a11y) tree to improve speed, accuracy, and costs fewer tokens. Using the a11y tree, however, means Stagehand may be able to act on items that aren’t directly visible (i.e. hidden behind a dropdown). To use these new features, set onlyVisible: false

const results = await page.observe({
     instruction: "click the sign in button",
     returnAction: true, // Return a Playwright action
     onlyVisible: false // Leverage the a11y tree (faster/better/cheaper)
})

// Act on an observation
// NO ADDITIONAL LLM CALL HERE! Just does the thing :)
await page.act(results[0])

This returns a list like this, which now contains method and arguments

[
  {
    description: 'The button saying sign in...'
    method: 'click', // or another playwright method
    arguments: [],
    selector: 'xpath=/html/body/div[1]/main/section/div[1]'
  }
]

Now, you can cache the selector, method, and arguments if you want to repeat the same Playwright without more LLM calls.

We also made some huge improvements to create-browser-app, making vercel AI SDK + ollama first-class citizens and greatly improving cursorrules.

Keep alive works on all plans

Normally, sessions begin the shut down process on disconnect. But you can change this behavior so that sessions stay alive till they either timeout or you stop them manually.

Previously, this was reserved for Scale plan customers, but we’ve opened it up for all plans! This makes it possible for any customer to clone our newest open source project, Open Operator.

Read more about keeping sessions alive in our documentation, or view the open operator project & repository

More billing and usage data is now on your Overview page

Usage data for current and last billing cycle has now been added to the Browserbase Overview page. You can now see your usage segmented by last 7 days, last 24 hours, or your billing cycle. Data includes total sessions, average session duration, total proxy bandwidth, and average session proxy bandwidth.

New Playground UX Improvements

When using the Browserbase playground the code will now mute when sessions are running. There is also a new “clear code” button to reset back to fresh state as well as a share button for copying code or sharing the URL.

Advanced Stealth is now available for Scale Plan customers

While Basic Stealth automatically detects and solves Captchas, Advanced Stealth uses more sophisticated techniques to improve performance against common anti-bot systems.

Primarily, Advanced Stealth reduces the changes of being flagged as a bot by using a custom version of the Chrome browser, built and maintained by the Browserbase Stealth Team.

Read more

Stagehand Version 1.8.0

All stagehand AI has been moved directly onto the page object so now you can convert your Playwright code directly into Stagehand with just one line changed.

Just import @browserbasehq/stagehand and init the page like below.

New overview page

Our dashboard overview page just got a makeover! Login to see our quickstart tips & videos on how to get started.