@playwright/mcp 0.0.76 → 0.0.77-alpha-2026-06-30

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.
Files changed (2) hide show
  1. package/README.md +2 -1
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -393,7 +393,7 @@ Playwright MCP server supports following arguments. They can be provided in the
393
393
  | --browser <browser> | browser or chrome channel to use, possible values: chrome, firefox, webkit, msedge.<br>*env* `PLAYWRIGHT_MCP_BROWSER` |
394
394
  | --caps <caps> | comma-separated list of additional capabilities to enable, possible values: vision, pdf, devtools.<br>*env* `PLAYWRIGHT_MCP_CAPS` |
395
395
  | --cdp-endpoint <endpoint> | CDP endpoint to connect to.<br>*env* `PLAYWRIGHT_MCP_CDP_ENDPOINT` |
396
- | --cdp-header <headers...> | CDP headers to send with the connect request, multiple can be specified.<br>*env* `PLAYWRIGHT_MCP_CDP_HEADER` |
396
+ | --cdp-header <headers...> | CDP headers to send with the connect request, multiple can be specified.<br>*env* `PLAYWRIGHT_MCP_CDP_HEADERS` |
397
397
  | --cdp-timeout <timeout> | timeout in milliseconds for connecting to CDP endpoint, defaults to 30000ms<br>*env* `PLAYWRIGHT_MCP_CDP_TIMEOUT` |
398
398
  | --codegen <lang> | specify the language to use for code generation, possible values: "typescript", "none". Default is "typescript".<br>*env* `PLAYWRIGHT_MCP_CODEGEN` |
399
399
  | --config <path> | path to the configuration file.<br>*env* `PLAYWRIGHT_MCP_CONFIG` |
@@ -1038,6 +1038,7 @@ http.createServer(async (req, res) => {
1038
1038
  - `type` (string): Image format for the screenshot. Default is png.
1039
1039
  - `filename` (string, optional): File name to save the screenshot to. Defaults to `page-{timestamp}.{png|jpeg}` if not specified. Prefer relative file names to stay within the output directory.
1040
1040
  - `fullPage` (boolean, optional): When true, takes a screenshot of the full scrollable page, instead of the currently visible viewport. Cannot be used with element screenshots.
1041
+ - `scale` (string): Image resolution scale. "css" produces a screenshot sized in CSS pixels (smaller, consistent across devices). "device" produces a high-resolution screenshot using device pixels (larger, accounts for the device pixel ratio). Default is css.
1041
1042
  - Read-only: **true**
1042
1043
 
1043
1044
  <!-- 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.76",
3
+ "version": "0.0.77-alpha-2026-06-30",
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.61.0-alpha-1781023400000",
41
- "playwright-core": "1.61.0-alpha-1781023400000"
40
+ "playwright": "1.62.0-alpha-2026-06-29",
41
+ "playwright-core": "1.62.0-alpha-2026-06-29"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@modelcontextprotocol/sdk": "^1.25.2",
45
- "@playwright/test": "1.61.0-alpha-1781023400000",
45
+ "@playwright/test": "1.62.0-alpha-2026-06-29",
46
46
  "@types/node": "^24.3.0"
47
47
  },
48
48
  "bin": {