Skip to content

guides: pin Stagehand to 3.x and say why - #106

Merged
arrufat merged 1 commit into
mainfrom
stagehand-pin-v3
Sep 22, 2026
Merged

arrufat merged 1 commit into
mainfrom
stagehand-pin-v3

Conversation

@arrufat

@arrufat arrufat commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

Stagehand 4 (npm latest) moved its DOM work into a Chrome extension that localBrowser.connect() loads through the CDP Extensions domain, which Lightpanda does not implement, so it cannot connect. The install line now pins @browserbasehq/stagehand@3, which is the API the guide already uses, with a sentence explaining the pin.

Stagehand 4 moved its DOM work into a Chrome extension loaded through the
CDP Extensions domain, which Lightpanda does not implement, so
localBrowser.connect() fails against it. The guide's code is the 3.x API.
@cdebled
cdebled self-requested a review September 22, 2026 12:40
@arrufat
arrufat merged commit 396f4fe into main Sep 22, 2026
1 check passed
@arrufat
arrufat deleted the stagehand-pin-v3 branch September 22, 2026 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants