@playwright/mcp 0.0.71 → 0.0.72

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 +23 -6
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -942,13 +942,22 @@ http.createServer(async (req, res) => {
942
942
 
943
943
  <!-- NOTE: This has been generated via update-readme.js -->
944
944
 
945
+ - **browser_network_request**
946
+ - Title: Show network request details
947
+ - Description: Returns full details (headers and body) of a single network request, or a single part if `part` is set. Use the number from browser_network_requests.
948
+ - Parameters:
949
+ - `index` (integer): 1-based index of the request, as printed by browser_network_requests.
950
+ - `part` (string, optional): Return only this part of the request. Omit to return full details.
951
+ - `filename` (string, optional): Filename to save the result to. If not provided, output is returned as text.
952
+ - Read-only: **true**
953
+
954
+ <!-- NOTE: This has been generated via update-readme.js -->
955
+
945
956
  - **browser_network_requests**
946
957
  - Title: List network requests
947
- - Description: Returns all network requests since loading the page
958
+ - Description: Returns a numbered list of network requests since loading the page. Use browser_network_request with the number to get full details.
948
959
  - Parameters:
949
960
  - `static` (boolean): Whether to include successful static resources like images, fonts, scripts, etc. Defaults to false.
950
- - `requestBody` (boolean): Whether to include request body. Defaults to false.
951
- - `requestHeaders` (boolean): Whether to include request headers. Defaults to false.
952
961
  - `filter` (string, optional): Only return requests whose URL matches this regexp (e.g. "/api/.*user").
953
962
  - `filename` (string, optional): Filename to save the network requests to. If not provided, requests are returned as text.
954
963
  - Read-only: **true**
@@ -974,9 +983,9 @@ http.createServer(async (req, res) => {
974
983
 
975
984
  <!-- NOTE: This has been generated via update-readme.js -->
976
985
 
977
- - **browser_run_code**
978
- - Title: Run Playwright code
979
- - Description: Run Playwright code snippet
986
+ - **browser_run_code_unsafe**
987
+ - Title: Run Playwright code (unsafe)
988
+ - Description: Run a Playwright code snippet. Unsafe: executes arbitrary JavaScript in the Playwright server process and is RCE-equivalent.
980
989
  - Parameters:
981
990
  - `code` (string, optional): A JavaScript function containing Playwright code to execute. It will be invoked with a single argument, page, which you can use for any page interaction. For example: `async (page) => { await page.getByRole('button', { name: 'Submit' }).click(); return await page.title(); }`
982
991
  - `filename` (string, optional): Load code from the specified file. If both code and filename are provided, code will be ignored.
@@ -1291,6 +1300,14 @@ http.createServer(async (req, res) => {
1291
1300
 
1292
1301
  <!-- NOTE: This has been generated via update-readme.js -->
1293
1302
 
1303
+ - **browser_annotate**
1304
+ - Title: Annotate the current page
1305
+ - Description: Open the Playwright Dashboard in annotation mode for the current page and wait for the user to draw annotations. Returns the annotated screenshot, ARIA snapshot, and the list of annotations.
1306
+ - Parameters: None
1307
+ - Read-only: **true**
1308
+
1309
+ <!-- NOTE: This has been generated via update-readme.js -->
1310
+
1294
1311
  - **browser_hide_highlight**
1295
1312
  - Title: Hide element highlight
1296
1313
  - Description: Remove a highlight overlay previously added for the element.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@playwright/mcp",
3
- "version": "0.0.71",
3
+ "version": "0.0.72",
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-2026-04-27",
41
- "playwright-core": "1.60.0-alpha-2026-04-27"
40
+ "playwright": "1.60.0-alpha-1777566615000",
41
+ "playwright-core": "1.60.0-alpha-1777566615000"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@modelcontextprotocol/sdk": "^1.25.2",
45
- "@playwright/test": "1.60.0-alpha-2026-04-27",
45
+ "@playwright/test": "1.60.0-alpha-1777566615000",
46
46
  "@types/node": "^24.3.0"
47
47
  },
48
48
  "bin": {