@playwright/mcp 0.0.49-alpha-2025-12-05 → 0.0.50-alpha-2025-12-06
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 +46 -0
- package/config.d.ts +14 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -102,6 +102,38 @@ For more information, see the [Codex MCP documentation](https://github.com/opena
|
|
|
102
102
|
|
|
103
103
|
</details>
|
|
104
104
|
|
|
105
|
+
<details>
|
|
106
|
+
<summary>Copilot</summary>
|
|
107
|
+
|
|
108
|
+
Use the Copilot CLI to interactively add the Playwright MCP server:
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
/mcp add
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
Alternatively, create or edit the configuration file `~/.copilot/mcp-config.json` and add:
|
|
115
|
+
|
|
116
|
+
```json
|
|
117
|
+
{
|
|
118
|
+
"mcpServers": {
|
|
119
|
+
"playwright": {
|
|
120
|
+
"type": "local",
|
|
121
|
+
"command": "npx",
|
|
122
|
+
"tools": [
|
|
123
|
+
"*"
|
|
124
|
+
],
|
|
125
|
+
"args": [
|
|
126
|
+
"@playwright/mcp@latest"
|
|
127
|
+
]
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
For more information, see the [Copilot CLI documentation](https://docs.github.com/en/copilot/concepts/agents/about-copilot-cli).
|
|
134
|
+
|
|
135
|
+
</details>
|
|
136
|
+
|
|
105
137
|
<details>
|
|
106
138
|
<summary>Cursor</summary>
|
|
107
139
|
|
|
@@ -578,6 +610,13 @@ npx @playwright/mcp@latest --config path/to/config.json
|
|
|
578
610
|
*/
|
|
579
611
|
outputDir?: string;
|
|
580
612
|
|
|
613
|
+
console?: {
|
|
614
|
+
/**
|
|
615
|
+
* The level of console messages to return. Each level includes the messages of more severe levels. Defaults to "info".
|
|
616
|
+
*/
|
|
617
|
+
level?: 'error' | 'warning' | 'info' | 'debug';
|
|
618
|
+
},
|
|
619
|
+
|
|
581
620
|
network?: {
|
|
582
621
|
/**
|
|
583
622
|
* List of origins to allow the browser to request. Default is to allow all. Origins matching both `allowedOrigins` and `blockedOrigins` will be blocked.
|
|
@@ -611,6 +650,13 @@ npx @playwright/mcp@latest --config path/to/config.json
|
|
|
611
650
|
* Whether to send image responses to the client. Can be "allow", "omit", or "auto". Defaults to "auto", which sends images if the client can display them.
|
|
612
651
|
*/
|
|
613
652
|
imageResponses?: 'allow' | 'omit';
|
|
653
|
+
|
|
654
|
+
snapshot?: {
|
|
655
|
+
/**
|
|
656
|
+
* When taking snapshots for responses, specifies the mode to use.
|
|
657
|
+
*/
|
|
658
|
+
mode?: 'incremental' | 'full' | 'none';
|
|
659
|
+
}
|
|
614
660
|
}
|
|
615
661
|
```
|
|
616
662
|
|
package/config.d.ts
CHANGED
|
@@ -142,6 +142,13 @@ export type Config = {
|
|
|
142
142
|
*/
|
|
143
143
|
outputDir?: string;
|
|
144
144
|
|
|
145
|
+
console?: {
|
|
146
|
+
/**
|
|
147
|
+
* The level of console messages to return. Each level includes the messages of more severe levels. Defaults to "info".
|
|
148
|
+
*/
|
|
149
|
+
level?: 'error' | 'warning' | 'info' | 'debug';
|
|
150
|
+
},
|
|
151
|
+
|
|
145
152
|
network?: {
|
|
146
153
|
/**
|
|
147
154
|
* List of origins to allow the browser to request. Default is to allow all. Origins matching both `allowedOrigins` and `blockedOrigins` will be blocked.
|
|
@@ -175,5 +182,11 @@ export type Config = {
|
|
|
175
182
|
* Whether to send image responses to the client. Can be "allow", "omit", or "auto". Defaults to "auto", which sends images if the client can display them.
|
|
176
183
|
*/
|
|
177
184
|
imageResponses?: 'allow' | 'omit';
|
|
178
|
-
};
|
|
179
185
|
|
|
186
|
+
snapshot?: {
|
|
187
|
+
/**
|
|
188
|
+
* When taking snapshots for responses, specifies the mode to use.
|
|
189
|
+
*/
|
|
190
|
+
mode?: 'incremental' | 'full' | 'none';
|
|
191
|
+
}
|
|
192
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@playwright/mcp",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.50-alpha-2025-12-06",
|
|
4
4
|
"description": "Playwright Tools for MCP",
|
|
5
5
|
"mcpName": "com.microsoft/playwright-mcp",
|
|
6
6
|
"repository": {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@modelcontextprotocol/sdk": "^1.17.5",
|
|
49
|
-
"@playwright/test": "1.58.0-alpha-2025-
|
|
49
|
+
"@playwright/test": "1.58.0-alpha-2025-12-05",
|
|
50
50
|
"@types/node": "^24.3.0",
|
|
51
51
|
"zod-to-json-schema": "^3.24.6"
|
|
52
52
|
}
|