Repository navigation
Conversation
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.
Summary
Add the official Stagehand v4 agent-framework
runcontract to Browsie.codeor snapshot-IDactions.op+idfor click, hover, fill, type, press, and select.page,context, andbrowserobjects.Design and security
The Playwright compatibility runtime is vendored from
browserbase/stagehandcommitda27625712448f3eaab47e697c2e69665109bd37, which matches the installed Stagehand 4.0.2 package. The source and license notice is inprojects/browsie/THIRD_PARTY_NOTICES.md.The model-authored JavaScript is converted to a callback in the Node process, but Stagehand executes that callback inside its browser extension service worker. It does not execute in Eve or Next.js. The code can access all data in the current browser session, so Browserbase remains the isolation boundary.
Validation
pnpm test— 89 passed, 8 skippedpnpm typecheckpnpm lint— passed with existing warningspnpm buildpython3 scripts/catalog.py checkpython3 scripts/authored_manifest.py checkpython3 scripts/verify.pypython3 -B -m unittest discover -s testsnpx --yes prettier@3.9.6 --check . --ignore-unknownThe opt-in local Chrome smoke test was attempted, but Chrome did not expose its dynamic debugging port in this environment. No paid Browserbase live test was run.
Publication and provenance