You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
document the managed-local browser setup used by V4 extension installation
add regression coverage proving branded Chrome remains on the supported post-launch CDP extension path
leave runtime behavior and every CLI command unchanged
Finding
Branded Chrome ignored the attempted launch-time unpacked-extension flags. Treating the extension as preloaded then made Stagehand wait for a connection that never arrived. The discarded preload experiment is not part of this pull request; managed-local sessions continue to install the packaged extension after launch through CDP.
Refreshed on 2026-08-10 against the current parent and v4-spike commit d7556e9a.
E2E Test Matrix
Command / flow
Observed output
Confidence / sufficiency
2026-08-10 cumulative stack refresh on Chrome Stable 151
pnpm build passed 6/6 tasks; pnpm check passed 11/11 tasks with 0 errors; the full pnpm test graph exited 0, including 17/17 protocol browser tests and 15/15 local SDK browser tests
Proves the updated six-PR stack is compatible with v4-spiked7556e9a across build, static checks, unit tests, and real-browser suites.
Clean coordinated-release tarball consumer at the cumulative tip
Packed workspace Stagehand and Browse, installed both into an empty npm project, opened example.com, produced a snapshot, clicked through to IANA, filled an injected input, and read back published-v4-ok
Proves the intended co-published artifacts work outside the monorepo with a real Chrome session; it does not substitute for a credentialed Browserbase smoke.
corepack pnpm exec vitest run packages/sdk-ts/tests/browser/localBrowser.test.ts
1 file passed; 3/3 tests passed
Isolated proof of the managed-local Chrome setup and post-launch extension path.
Full JavaScript workspace test:unit graph at the final stack
13/13 tasks passed; 1,788 tests passed and 10 todo
Confirms this test-only layer remains compatible with the refreshed parent and every downstream runtime layer.
Python CI-equivalent suite
455 passed, 1 skipped; generation, lock, Ruff format/lint, and ty checks passed
Checks cross-language protocol/runtime drift after the refreshed V4 merge.
Go 1.26.5 CI-equivalent suite with Chrome Stable 151
Generation and embedded-extension drift checks, gofmt, vet, build, generator tests, and live Chrome tests passed
Proves the rebuilt deterministic extension archive is valid and usable by the Go SDK.
Final corepack pnpm build / corepack pnpm check
6/6 build tasks; 11/11 checks; 400 warnings and 0 errors
Proves repository gates pass at the final refreshed stack.
No changeset is included because this pull request changes tests and explanatory comments only.
Final release validation (2026-08-10)
At the cumulative stack tip:
release validation now recognizes public browse changesets
a Changesets version dry run resolves browse 0.9.7, Stagehand 4.0.1, extension 1.0.1, and Go 4.0.1
the packed Browse 0.9.7 manifest rewrites workspace:* to exact Stagehand 4.0.1
a clean npm consumer installed those versioned tarballs and completed real-Chrome open, snapshot, model-free click, URL read, and stop with zero audit vulnerabilities
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Superseded by the clean replacement stack. The extension-facing needs are now implemented as public Stagehand APIs in #2831 (cursor overlay) and #2832 (typed network capture), then consumed and validated by the CLI runtime in #2834. A standalone extension-setup PR is no longer needed. Closing this draft.
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
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.
Summary
Finding
Branded Chrome ignored the attempted launch-time unpacked-extension flags. Treating the extension as preloaded then made Stagehand wait for a connection that never arrived. The discarded preload experiment is not part of this pull request; managed-local sessions continue to install the packaged extension after launch through CDP.
Refreshed on 2026-08-10 against the current parent and
v4-spikecommitd7556e9a.E2E Test Matrix
pnpm buildpassed 6/6 tasks;pnpm checkpassed 11/11 tasks with 0 errors; the fullpnpm testgraph exited 0, including 17/17 protocol browser tests and 15/15 local SDK browser testsv4-spiked7556e9aacross build, static checks, unit tests, and real-browser suites.example.com, produced a snapshot, clicked through to IANA, filled an injected input, and read backpublished-v4-okcorepack pnpm exec vitest run packages/sdk-ts/tests/browser/localBrowser.test.tstest:unitgraph at the final stackcorepack pnpm build/corepack pnpm checkNo changeset is included because this pull request changes tests and explanatory comments only.
Final release validation (2026-08-10)
At the cumulative stack tip:
browsechangesetsbrowse0.9.7, Stagehand 4.0.1, extension 1.0.1, and Go 4.0.1workspace:*to exact Stagehand 4.0.1