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

Open
AjjayK opened this issue Apr 16, 2025 · 0 comments

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 }

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

1 participant