@playwright/mcp 0.0.73 → 0.0.74-alpha-2026-05-07
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -418,7 +418,7 @@ Playwright MCP server supports following arguments. They can be provided in the
|
|
|
418
418
|
| --proxy-server <proxy> | specify proxy server, for example "http://myproxy:3128" or "socks5://myproxy:8080"<br>*env* `PLAYWRIGHT_MCP_PROXY_SERVER` |
|
|
419
419
|
| --sandbox | enable the sandbox for all process types that are normally not sandboxed.<br>*env* `PLAYWRIGHT_MCP_SANDBOX` |
|
|
420
420
|
| --save-session | Whether to save the Playwright MCP session into the output directory.<br>*env* `PLAYWRIGHT_MCP_SAVE_SESSION` |
|
|
421
|
-
| --secrets <path> | path to a file containing secrets in the dotenv format<br>*env* `
|
|
421
|
+
| --secrets <path> | path to a file containing secrets in the dotenv format<br>*env* `PLAYWRIGHT_MCP_SECRETS_FILE` |
|
|
422
422
|
| --shared-browser-context | reuse the same browser context between all connected HTTP clients.<br>*env* `PLAYWRIGHT_MCP_SHARED_BROWSER_CONTEXT` |
|
|
423
423
|
| --snapshot-mode <mode> | when taking snapshots for responses, specifies the mode to use. Can be "full" or "none". Default is "full".<br>*env* `PLAYWRIGHT_MCP_SNAPSHOT_MODE` |
|
|
424
424
|
| --storage-state <path> | path to the storage state file for isolated sessions.<br>*env* `PLAYWRIGHT_MCP_STORAGE_STATE` |
|
|
@@ -453,6 +453,9 @@ Persistent profile is located at the following locations and you can override it
|
|
|
453
453
|
|
|
454
454
|
`{workspace-hash}` is derived from the MCP client's workspace root, so different projects get separate profiles automatically.
|
|
455
455
|
|
|
456
|
+
> [!IMPORTANT]
|
|
457
|
+
> A persistent profile can only be used by one browser instance at a time, so concurrent MCP clients sharing the same workspace will conflict. To run several clients in parallel, start each additional client with `--isolated` or point it at a distinct `--user-data-dir`.
|
|
458
|
+
|
|
456
459
|
**Isolated**
|
|
457
460
|
|
|
458
461
|
In the isolated mode, each session is started in the isolated profile. Every time you ask MCP to close the browser,
|
|
@@ -1011,7 +1014,7 @@ http.createServer(async (req, res) => {
|
|
|
1011
1014
|
- `target` (string, optional): Exact target element reference from the page snapshot, or a unique element selector
|
|
1012
1015
|
- `filename` (string, optional): Save snapshot to markdown file instead of returning it in the response.
|
|
1013
1016
|
- `depth` (number, optional): Limit the depth of the snapshot tree
|
|
1014
|
-
- `boxes` (boolean, optional): Include each element's bounding box as [box=x,y,width,height] in the snapshot
|
|
1017
|
+
- `boxes` (boolean, optional): Include each element's bounding box as [box=x,y,width,height] in the snapshot. Coordinates are viewport-relative, in CSS pixels (Element.getBoundingClientRect)
|
|
1015
1018
|
- Read-only: **true**
|
|
1016
1019
|
|
|
1017
1020
|
<!-- NOTE: This has been generated via update-readme.js -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@playwright/mcp",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.74-alpha-2026-05-07",
|
|
4
4
|
"description": "Playwright Tools for MCP",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"playwright": "1.60.0-alpha-
|
|
41
|
-
"playwright-core": "1.60.0-alpha-
|
|
40
|
+
"playwright": "1.60.0-alpha-1778101408000",
|
|
41
|
+
"playwright-core": "1.60.0-alpha-1778101408000"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@modelcontextprotocol/sdk": "^1.25.2",
|
|
45
|
-
"@playwright/test": "1.60.0-alpha-
|
|
45
|
+
"@playwright/test": "1.60.0-alpha-1778101408000",
|
|
46
46
|
"@types/node": "^24.3.0"
|
|
47
47
|
},
|
|
48
48
|
"bin": {
|