feat: add --isolated flag to Playwright MCP for Claude Code provider
Added the --isolated flag to the Playwright MCP configuration to ensure browser instances run in isolated contexts, preventing state leakage between different agent sessions. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -540,7 +540,7 @@ class ClaudeAgentSession implements AgentSession {
|
|||||||
playwright: {
|
playwright: {
|
||||||
type: "stdio",
|
type: "stdio",
|
||||||
command: "npx",
|
command: "npx",
|
||||||
args: ["@playwright/mcp", "--headless"],
|
args: ["@playwright/mcp", "--headless", "--isolated"],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user