Repository navigation
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
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.
What changed
Add a JavaScript example that embeds Browserbase Live View and draws a custom pointer for Stagehand and Playwright mouse actions. Human mouse and keyboard input go directly to the Live View iframe. The custom overlay does not catch human input.
The example polls the latest agent pointer position every 100 ms. This keeps the overlay working when a proxy buffers Server-Sent Events. The direct Browserbase Live View URL still uses its normal pointer.
Checks
python3 scripts/verify.pyin a clean snapshot: passed (164 recipes)python3 scripts/authored_manifest.py check: passedpython3 scripts/catalog.py check: passedpython3 -B -m unittest discover -s tests: passed (66 tests)/api/inputrequestScope
The example tracks mouse events in the main remote tab. Actions that do not move the mouse, such as
fill()orpage.evaluate(() => element.click()), do not move the pointer. If the UI is deployed, protect the page and API routes because the page receives a signed Live View URL.