Conversation
ec75e1e to
723c776
Compare
dafa02a to
72b84ca
Compare
7de4fa6 to
3892d6b
Compare
af15fb0 to
429ee37
Compare
409a70c to
977795f
Compare
8d4449a to
e3d32e1
Compare
62d05cc to
5819a5c
Compare
1893f1e to
a8cfcf1
Compare
ab37db1 to
5a16ce6
Compare
7b4a49d to
c2ffa00
Compare
ecc6524 to
ef21d1f
Compare
b721c5b to
2c61db8
Compare
6580eb6 to
b68ea38
Compare
b68ea38 to
e3cabe1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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/stagehand@3.1.0
Minor Changes
#1681
e3db9aaThanks @tkattkat! - Add cookie management APIs:context.addCookies(),context.clearCookies(), &context.cookies()#1672
b65756eThanks @seanmcguire12! - add boolean keepAlive parameter to allow for configuring whether the browser should be closed when stagehand.close() is called.#1708
176d420Thanks @seanmcguire12! - add context.setExtraHTTPHeaders()#1611
8a3c066Thanks @monadoid! - Usingmodeenum instead of oldcuaboolean in openapi specPatch Changes
#1683
7584f3eThanks @seanmcguire12! - fix: include shadow DOM in .count() & .nth() & support xpath predicates#1644
1e1c9c1Thanks @monadoid! - Fix unhandled CDP detaches by returning the original sendCDP promise#1729
6bef890Thanks @shrey150! - fix: support Claude 4.6 (Opus and Sonnet) in CUA mode by using the correctcomputer_20251124tool version andcomputer-use-2025-11-24beta header#1647
ffd4b33Thanks @tkattkat! - Fix [Agent] - Address bug causing issues with continuing a conversation from past messages in dom mode#1614
677bff5Thanks @miguelg719! - Enforce - regex validation on act/observe for elementId#1580
65ff464Thanks @tkattkat! - Add unified variables support across act and agent with a single VariableValue type#1666
101bcf2Thanks @Kylejeong2! - add support for codex models#1728
0a94301Thanks @seanmcguire12! - handle potential race condition on.close()when using the Stagehand API#1664
b27c04dThanks @seanmcguire12! - fixes issue with context.addInitScript() where scripts were not being applied to out of process iframes (OOPIFs), and popup pages with same process iframes (SPIFs)#1632
afbd08bThanks @pirate! - Remove automatic.envloading viadotenv.If your app relies on
.envfiles, installdotenvand load it explicitly in your code:#1624
0e8d569Thanks @seanmcguire12! - fix issue where screenshot masks were not being applied to dialog elements#1596
ff0f979Thanks @tkattkat! - Update usage/metrics handling in agent#1631
2d89d2bThanks @miguelg719! - Add right and middle click support to act and observe#1697
aac9a19Thanks @shrey150! - fix: support<frame>elements in XPath frame boundary detection soact()works on legacy<frameset>pages#1692
06de50fThanks @shrey150! - fix: skip piercer injection for chrome-extension:// and other non-HTML targets#1613
aa4d981Thanks @miguelg719! - SupportedUnderstudyAction Enum validation for 'method' on act/observe inference#1652
18b1e3bThanks @miguelg719! - Add support for gemini 3 flash and pro in hybrid/cua agent#1706
957d82bThanks @chrisreadsf! - Add GLM to prompt-based JSON fallback for models without native structured output support#1633
22e371aThanks @tkattkat! - Add warning when incorrect models are used with agents hybrid mode#1673
d29b91fThanks @miguelg719! - Add multi-region support for Stagehand API with region-specific endpoints#1695
7b4f817Thanks @tkattkat! - Fix: zod bug when pinning zod to v3 and using structured output in agent#1609
3f9ca4dThanks @miguelg719! - Add SupportedUnderstudyActions to observe system prompt#1642
3673369Thanks @seanmcguire12! - fix issue where scripts added via context.addInitScripts() were not being injected into new pages that were opened via popups (eg, clicking a link that opens a new page) and/or calling context.newPage(url)#1705
ae533e4Thanks @seanmcguire12! - include error cause in UnderstudyCommandException#1636
ea33052Thanks @miguelg719! - Include executionModel on the AgentConfigSchema#1679
5764edeThanks @shrey150! - fix issue where locator.count() was not working with xpaths that have attribute predicates#1646
f09b184Thanks @miguelg719! - Add user-agent to CDP connections#1637
a7d29deThanks @miguelg719! - Improve error and warning message for legacy model format#1685
d334399Thanks @tkattkat! - Bump ai sdk & google provider version#1662
44416daThanks @seanmcguire12! - fix issue where locator.fill() was not working on elements that require direct value setting#1612
bdd8b4eThanks @seanmcguire12! - fix issue where screenshot mask was only being applied to the first element that the locator resolved to. masks now apply to all matching elements.@browserbasehq/stagehand-server@3.6.0
Minor Changes
8a3c066Thanks @monadoid! - Usingmodeenum instead of oldcuaboolean in openapi specPatch Changes
#1604
4753078Thanks @miguelg719! - Enable bedrock#1636
ea33052Thanks @miguelg719! - Include executionModel on the AgentConfigSchema#1602
22a0502Thanks @miguelg719! - Include vertex as a supported providerUpdated dependencies [
7584f3e,1e1c9c1,6bef890,ffd4b33,677bff5,65ff464,101bcf2,0a94301,b27c04d,afbd08b,e3db9aa,0e8d569,ff0f979,2d89d2b,aac9a19,06de50f,aa4d981,18b1e3b,957d82b,b65756e,22e371a,d29b91f,7b4f817,176d420,3f9ca4d,8a3c066,3673369,ae533e4,ea33052,5764ede,f09b184,a7d29de,d334399,44416da,bdd8b4e]:@browserbasehq/stagehand-evals@1.1.8
Patch Changes
7584f3e,1e1c9c1,6bef890,ffd4b33,677bff5,65ff464,101bcf2,0a94301,b27c04d,afbd08b,e3db9aa,0e8d569,ff0f979,2d89d2b,aac9a19,06de50f,aa4d981,18b1e3b,957d82b,b65756e,22e371a,d29b91f,7b4f817,176d420,3f9ca4d,8a3c066,3673369,ae533e4,ea33052,5764ede,f09b184,a7d29de,d334399,44416da,bdd8b4e]: