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({
|
executor = new PlaywrightExecutor({
|
||||||
cdpConfig,
|
cdpConfig,
|
||||||
logger: mcpLogger,
|
logger: mcpLogger,
|
||||||
|
cwd: process.cwd(),
|
||||||
})
|
})
|
||||||
|
|
||||||
return executor
|
return executor
|
||||||
|
|||||||
Reference in New Issue
Block a user