Browserbase Changelog

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.

AI codegen guide is out now

Transform prompts into powerful web automation. Natural language → browser automation is the new standard, and we just published a guide showing how to automate agents for any website.

New Browserbase SDKs

We’ve recreated our Python and Node SDKs from scratch, offering greater capability, higher performance and generally improved quality.