-
Notifications
You must be signed in to change notification settings - Fork 952
Labels
bugSomething that isn't workingSomething that isn't working
Description
What versions & operating system are you using?
[email protected], @cloudflare/[email protected]
Please provide a link to a minimal reproduction
https://github.com/threepointone/browser-close-hangs
Describe the Bug
Like it says, browser.close()
hangs in dev, in both vite and wrangler. It works fine in production, but this is a blocker for dev.
const browser = await launch(env.browser);
const page = await browser.newPage();
await page.goto("https://www.example.com");
const content = await page.content();
// this line hangs
await browser.close();
Please provide any relevant error logs
No response
Metadata
Metadata
Assignees
Labels
bugSomething that isn't workingSomething that isn't working
Type
Projects
Status
Done