Closed
Description
Updating @playwright/mcp from 0.0.20
to 0.0.22
Gives us the following error
Error: MCP Tool browser_snapshot failed with error: [{"type":"text","text":"Error: page._snapshotForAI: Execution context was destroyed, most likely because of a navigation"}]
The Tool with this error is browser_snapshot
We start the @playwright/mcp programatically with an already running browser :
const server = await createConnection({
browser: {
cdpEndpoint: `http://localhost:${CDP_PORT}`,
},
});
Metadata
Metadata
Assignees
Labels
No labels