fix: pass cwd to executor in MCP so file operations use correct directory
This commit is contained in:
@@ -93,6 +93,7 @@ async function getOrCreateExecutor(): Promise<PlaywrightExecutor> {
|
||||
executor = new PlaywrightExecutor({
|
||||
cdpConfig,
|
||||
logger: mcpLogger,
|
||||
cwd: process.cwd(),
|
||||
})
|
||||
|
||||
return executor
|
||||
|
||||
Reference in New Issue
Block a user