Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@browserbasehq/[email protected]
Major Changes
e234a0f
Thanks @miguelg719! - temporary placeholderMinor Changes
#588
ba9efc5
Thanks @sameelarif! - Added support for offloading agent tasks to the API.#600
11e015d
Thanks @sameelarif! - Added astagehand.history
array which stores an array ofact
,extract
,observe
, andgoto
calls made. Since this history array is stored on theStagehandPage
level, it will capture methods even if indirectly called by an agent.#601
1d22604
Thanks @seanmcguire12! - add custom error classes#571
73d6736
Thanks @miguelg719! - You can now use Computer Using Agents (CUA) natively in Stagehand for both Anthropic and OpenAI models! This unlocks a brand new frontier of applications for Stagehand users 🤘#586
c57dc19
Thanks @sameelarif! - Added native Stagehand agentic loop functionality. This allows you to build agentic workflows with a single prompt without using a computer-use model. To try it out, create astagehand.agent
without passing in a provider.Patch Changes
#580
179e17c
Thanks @seanmcguire12! - refactor _performPlaywrightMethod#594
e483484
Thanks @seanmcguire12! - pass observeHandler into actHandler#569
17e8b40
Thanks @seanmcguire12! - you can now call stagehand.metrics to get token usage metrics. you can also set logInferenceToFile in stagehand config to log the entire call/response history from stagehand & the LLM.#589
0c4b1e7
Thanks @miguelg719! - Added CDP support for screenshots, find more about the benefits here: https://docs.browserbase.com/features/screenshots#why-use-cdp-for-screenshots%3F#584
c7c1a80
Thanks @miguelg719! - Fix to remove unnecessary healtcheck ping on sdk#582
dfd24e6
Thanks @seanmcguire12! - support api usage for extract with no args#563
98166d7
Thanks @seanmcguire12! - support scrolling inact
#598
53889d4
Thanks @miguelg719! - Fix the open operator handler to work with anthropic#605
b8beaec
Thanks @sameelarif! - Added support for resuming a Stagehand session created on the API.#577
4fdbf63
Thanks @seanmcguire12! - remove debugDom#603
2a14a60
Thanks @seanmcguire12! - rm unused handlePossiblePageNavigation#573
c24f3c9
Thanks @seanmcguire12! - return act result in actFromObserve