@playwright/mcp 0.0.50 → 0.0.51-alpha-2025-12-09

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 +11 -2
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -328,6 +328,10 @@ Playwright MCP server supports following arguments. They can be provided in the
328
328
  --cdp-header <headers...> CDP headers to send with the connect
329
329
  request, multiple can be specified.
330
330
  --config <path> path to the configuration file.
331
+ --console-level <level> level of console messages to return:
332
+ "error", "warning", "info", "debug".
333
+ Each level includes the messages of more
334
+ severe levels.
331
335
  --device <device> device to emulate, for example: "iPhone
332
336
  15"
333
337
  --executable-path <path> path to the browser executable.
@@ -378,6 +382,10 @@ Playwright MCP server supports following arguments. They can be provided in the
378
382
  dotenv format
379
383
  --shared-browser-context reuse the same browser context between
380
384
  all connected HTTP clients.
385
+ --snapshot-mode <mode> when taking snapshots for responses,
386
+ specifies the mode to use. Can be
387
+ "incremental", "full", or "none".
388
+ Default is incremental.
381
389
  --storage-state <path> path to the storage state file for
382
390
  isolated sessions.
383
391
  --test-id-attribute <attribute> specify the attribute to use for test
@@ -777,7 +785,7 @@ http.createServer(async (req, res) => {
777
785
  - Title: Get console messages
778
786
  - Description: Returns all console messages
779
787
  - Parameters:
780
- - `onlyErrors` (boolean, optional): Only return error messages
788
+ - `level` (string, optional): Level of the console messages to return. Each level includes the messages of more severe levels. Defaults to "info".
781
789
  - Read-only: **true**
782
790
 
783
791
  <!-- NOTE: This has been generated via update-readme.js -->
@@ -863,7 +871,8 @@ http.createServer(async (req, res) => {
863
871
  - **browser_network_requests**
864
872
  - Title: List network requests
865
873
  - Description: Returns all network requests since loading the page
866
- - Parameters: None
874
+ - Parameters:
875
+ - `includeStatic` (boolean, optional): Whether to include successful static resources like images, fonts, scripts, etc. Defaults to false.
867
876
  - Read-only: **true**
868
877
 
869
878
  <!-- 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.50",
3
+ "version": "0.0.51-alpha-2025-12-09",
4
4
  "description": "Playwright Tools for MCP",
5
5
  "mcpName": "com.microsoft/playwright-mcp",
6
6
  "repository": {
@@ -38,8 +38,8 @@
38
38
  }
39
39
  },
40
40
  "dependencies": {
41
- "playwright": "1.58.0-alpha-2025-11-30",
42
- "playwright-core": "1.58.0-alpha-2025-11-30"
41
+ "playwright": "1.58.0-alpha-2025-12-05",
42
+ "playwright-core": "1.58.0-alpha-2025-12-05"
43
43
  },
44
44
  "bin": {
45
45
  "mcp-server-playwright": "cli.js"