Skip to content

Commit ec96a6f

Browse files
committed
docs(mcp): fix persistent profile directory name in README
The documentation listed `mcp-{channel}-profile` as the default profile directory, but the code generates `mcp-{channel}-{hash}` where the hash is derived from the MCP client's workspace root.
1 parent d21e970 commit ec96a6f

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -413,15 +413,17 @@ Persistent profile is located at the following locations and you can override it
413413

414414
```bash
415415
# Windows
416-
%USERPROFILE%\AppData\Local\ms-playwright\mcp-{channel}-profile
416+
%USERPROFILE%\AppData\Local\ms-playwright\mcp-{channel}-{workspace-hash}
417417

418418
# macOS
419-
- ~/Library/Caches/ms-playwright/mcp-{channel}-profile
419+
- ~/Library/Caches/ms-playwright/mcp-{channel}-{workspace-hash}
420420

421421
# Linux
422-
- ~/.cache/ms-playwright/mcp-{channel}-profile
422+
- ~/.cache/ms-playwright/mcp-{channel}-{workspace-hash}
423423
```
424424

425+
`{workspace-hash}` is derived from the MCP client's workspace root, so different projects get separate profiles automatically.
426+
425427
**Isolated**
426428

427429
In the isolated mode, each session is started in the isolated profile. Every time you ask MCP to close the browser,

0 commit comments

Comments
 (0)