Environment Information
Stagehand:
- Language/SDK: Nodejs v22.19.0
- Stagehand version: 3.0.3
AI Provider:
Issue Description
When I run this index.mjs script:
import { Stagehand } from '@browserbasehq/stagehand';
const stagehand = new Stagehand({ env: 'LOCAL' });
await stagehand.init();
const page = stagehand.context.pages()[0];
await page.goto('https://example.com');
I have the following error:
TimeoutError: waitForFirstTopLevelPage (no top-level Page) timed out after 5000ms
How to fix this issue? Can I increase this timeout?
I have a low performance conputer, the browser make time to open.
Thanks for your help and your project!