@playwright/mcp 0.0.47-alpha-2025-11-21 → 0.0.48
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 +15 -0
- package/config.d.ts +5 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -270,6 +270,21 @@ Playwright MCP server supports following arguments. They can be provided in the
|
|
|
270
270
|
server is allowed to serve from.
|
|
271
271
|
Defaults to the host the server is bound
|
|
272
272
|
to. Pass '*' to disable the host check.
|
|
273
|
+
--allowed-origins <origins> semicolon-separated list of TRUSTED
|
|
274
|
+
origins to allow the browser to request.
|
|
275
|
+
Default is to allow all.
|
|
276
|
+
Important: *does not* serve as a
|
|
277
|
+
security boundary and *does not* affect
|
|
278
|
+
redirects.
|
|
279
|
+
--blocked-origins <origins> semicolon-separated list of origins to
|
|
280
|
+
block the browser from requesting.
|
|
281
|
+
Blocklist is evaluated before allowlist.
|
|
282
|
+
If used without the allowlist, requests
|
|
283
|
+
not matching the blocklist are still
|
|
284
|
+
allowed.
|
|
285
|
+
Important: *does not* serve as a
|
|
286
|
+
security boundary and *does not* affect
|
|
287
|
+
redirects.
|
|
273
288
|
--block-service-workers block service workers
|
|
274
289
|
--browser <browser> browser or chrome channel to use,
|
|
275
290
|
possible values: chrome, firefox,
|
package/config.d.ts
CHANGED
|
@@ -69,6 +69,11 @@ export type Config = {
|
|
|
69
69
|
*/
|
|
70
70
|
remoteEndpoint?: string;
|
|
71
71
|
|
|
72
|
+
/**
|
|
73
|
+
* Paths to TypeScript files to add as initialization scripts for Playwright page.
|
|
74
|
+
*/
|
|
75
|
+
initPage?: string[];
|
|
76
|
+
|
|
72
77
|
/**
|
|
73
78
|
* Paths to JavaScript files to add as initialization scripts.
|
|
74
79
|
* The scripts will be evaluated in every page before any of the page's scripts.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@playwright/mcp",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.48",
|
|
4
4
|
"description": "Playwright Tools for MCP",
|
|
5
5
|
"mcpName": "com.microsoft/playwright-mcp",
|
|
6
6
|
"repository": {
|
|
@@ -38,15 +38,15 @@
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"playwright": "1.
|
|
42
|
-
"playwright-core": "1.
|
|
41
|
+
"playwright": "1.58.0-alpha-1763757971000",
|
|
42
|
+
"playwright-core": "1.58.0-alpha-1763757971000"
|
|
43
43
|
},
|
|
44
44
|
"bin": {
|
|
45
45
|
"mcp-server-playwright": "cli.js"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@modelcontextprotocol/sdk": "^1.17.5",
|
|
49
|
-
"@playwright/test": "1.
|
|
49
|
+
"@playwright/test": "1.58.0-alpha-1763757971000",
|
|
50
50
|
"@types/node": "^24.3.0",
|
|
51
51
|
"zod-to-json-schema": "^3.24.6"
|
|
52
52
|
}
|