Skip to content

Comments

[pull] main from browserbase:main#28

Merged
pull[bot] merged 3 commits intoedisplay:mainfrom
browserbase:main
Feb 25, 2026
Merged

[pull] main from browserbase:main#28
pull[bot] merged 3 commits intoedisplay:mainfrom
browserbase:main

Conversation

@pull
Copy link

@pull pull bot commented Feb 25, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

seanmcguire12 and others added 3 commits February 24, 2026 16:17
# why
- adds documentation for the following new functions:
  - `context.addCookies()`
  - `context.clearCookies()`
  - `context.cookies()`
### note:
- hold off on merging until after release


<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Add V3 docs for cookie management in context: cookies(), addCookies(),
and clearCookies, with examples and type definitions to help users
manage auth and state. Connects to Linear STG-1409; merge after the
release that includes these APIs.

<sup>Written for commit 4ad34e1.
Summary will update on new commits. <a
href="https://cubic.dev/pr/browserbase/stagehand/pull/1748">Review in
cubic</a></sup>

<!-- End of auto-generated description by cubic. -->
# why
- adds documentation for the new `keepAlive` param
### note:
- hold off on merging until after release


<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Add keepAlive docs to Stagehand, detailing behavior in Browserbase and
Local, close() semantics, defaults/overrides, and how to reconnect via
browserbaseSessionID. Addresses Linear STG-1380.

<sup>Written for commit 6eaa9cd.
Summary will update on new commits. <a
href="https://cubic.dev/pr/browserbase/stagehand/pull/1747">Review in
cubic</a></sup>

<!-- End of auto-generated description by cubic. -->
…k to opening about:blank (#1749)

# why

Stagehand API failures were caused on all routes `/act`, `/observe`,
etc. when session init failed because a page was closed. This adds a
fallback to open about:blank so at least the session remains usable
instead of just crashing on init.

# what changed

# test plan

<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Fixes session init when connecting to a browser with zero pages by
auto-creating an about:blank tab. Keeps Stagehand routes working after
the last page closes and surfaces lint failures via a dedicated
cancellation job. Addresses STG-1450.

- **Bug Fixes**
- Replace waitForFirstTopLevelPage with ensureFirstTopLevelPage: check
for an existing page, wait with timeout, then create about:blank if
none.
- Simplify errors to a TimeoutError with clearer context; improve
logging and add an integration test for zero-page init.

- **CI**
- Run cancellation in a separate job only when lint fails, so failures
are visible instead of marked skipped.

<sup>Written for commit 45ed6dc.
Summary will update on new commits. <a
href="https://cubic.dev/pr/browserbase/stagehand/pull/1749">Review in
cubic</a></sup>

<!-- End of auto-generated description by cubic. -->

<!-- mintlify-editor-comments:start -->
Mintlify
---
0 threads from 0 users in Mintlify

- No unresolved comments
<!-- mintlify-editor-comments:end -->

<!-- mintlify-comment-->

<a
href="https://dashboard.mintlify.com/browserbase/stagehand/editor/session-init-fixes?source=pr_comment"
target="_blank" rel="noopener noreferrer"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://d3gk2c5xim1je2.cloudfront.net/assets/open-mintlify-editor-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://d3gk2c5xim1je2.cloudfront.net/assets/open-mintlify-editor-light.svg"><img
src="https://d3gk2c5xim1je2.cloudfront.net/assets/open-mintlify-editor-light.svg"
alt="Open in Mintlify Editor"></picture></a>

<!-- /mintlify-comment -->
@pull pull bot locked and limited conversation to collaborators Feb 25, 2026
@pull pull bot added the ⤵️ pull label Feb 25, 2026
@pull pull bot merged commit 7390508 into edisplay:main Feb 25, 2026
2 of 5 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants