Content-Length: 259739 | pFad | http://github.com/browserbase/mcp-server-browserbase/issues/44

A1 Failed to initialize Stagehand: You seem to be calling `page` on a page in an uninitialized `Stagehand` object · Issue #44 · browserbase/mcp-server-browserbase · GitHub
Skip to content

Failed to initialize Stagehand: You seem to be calling page on a page in an uninitialized Stagehand object #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
AjjayK opened this issue Apr 16, 2025 · 4 comments
Assignees

Comments

@AjjayK
Copy link

AjjayK commented Apr 16, 2025

Facing the issue in my Windows Claude Desktop. Couldn't figure out what was causing the issue

Below is the message I see in Claude Desktop
Operation logs:
[2025-04-16T00:32:43.477Z] [ERROR] Failed to initialize/reinitialize Stagehand: You seem to be calling page on a page in an uninitialized Stagehand object. Ensure you are running await stagehand.init() on the Stagehand object before referencing the page object.
Config: { "env": "BROWSERBASE", "apiKey": "", "projectId": "my-secret-key", "domSettleTimeoutMs": 30000, "browserbaseSessionCreateParams": { "projectId": "my-secret-key" }, "enableCaching": true, "modelName": "gpt-4o", "modelClientOptions": { "apiKey": "" }, "useAPI": false }

@Kylejeong2 Kylejeong2 self-assigned this Apr 29, 2025
@Kylejeong2
Copy link
Contributor

Hey @AjjayK is this a recurring issue? Also if possible can you provide your full claude_desktop_config.json?

@JoeDo
Copy link

JoeDo commented Apr 30, 2025

Not sure if it's the same cause, but I got the same error message today. In my case, Stagehand was unable to initialize because it couldn't connect to Chrome's remote debugging port. I tracked it down to this change that rolled out in Chrome 136. You need to specify a custom --user-data-dir when using --remote-debugging-port now.

@Kylejeong2
Copy link
Contributor

Hey @AjjayK, just follow up here. Would love to see if the issue is still occurring.

@AjjayK
Copy link
Author

AjjayK commented May 13, 2025

The issue is resolved. @JoeDo Thank you, that worked!

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

No branches or pull requests

3 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/browserbase/mcp-server-browserbase/issues/44

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy