fix: pass cwd to executor in MCP so file operations use correct directory

This commit is contained in:
Tommy D. Rossi
2026-01-24 18:07:34 +01:00
parent a12b3737e2
commit 4cbb3102f8
+1
View File
@@ -93,6 +93,7 @@ async function getOrCreateExecutor(): Promise<PlaywrightExecutor> {
executor = new PlaywrightExecutor({ executor = new PlaywrightExecutor({
cdpConfig, cdpConfig,
logger: mcpLogger, logger: mcpLogger,
cwd: process.cwd(),
}) })
return executor return executor