@playwright/mcp 0.0.41-alpha-2025-10-09 → 0.0.42-alpha-2025-10-10
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 +8 -6
- package/config.d.ts +5 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -300,6 +300,8 @@ Playwright MCP server supports following arguments. They can be provided in the
|
|
|
300
300
|
all connected HTTP clients.
|
|
301
301
|
--storage-state <path> path to the storage state file for
|
|
302
302
|
isolated sessions.
|
|
303
|
+
--test-id-attribute <attribute> specify the attribute to use for test
|
|
304
|
+
ids, defaults to "data-testid"
|
|
303
305
|
--timeout-action <timeout> specify action timeout in milliseconds,
|
|
304
306
|
defaults to 5000ms
|
|
305
307
|
--timeout-navigation <timeout> specify navigation timeout in
|
|
@@ -548,7 +550,7 @@ http.createServer(async (req, res) => {
|
|
|
548
550
|
- Title: Close browser
|
|
549
551
|
- Description: Close the page
|
|
550
552
|
- Parameters: None
|
|
551
|
-
- Read-only: **
|
|
553
|
+
- Read-only: **false**
|
|
552
554
|
|
|
553
555
|
<!-- NOTE: This has been generated via update-readme.js -->
|
|
554
556
|
|
|
@@ -618,7 +620,7 @@ http.createServer(async (req, res) => {
|
|
|
618
620
|
- Parameters:
|
|
619
621
|
- `element` (string): Human-readable element description used to obtain permission to interact with the element
|
|
620
622
|
- `ref` (string): Exact target element reference from the page snapshot
|
|
621
|
-
- Read-only: **
|
|
623
|
+
- Read-only: **false**
|
|
622
624
|
|
|
623
625
|
<!-- NOTE: This has been generated via update-readme.js -->
|
|
624
626
|
|
|
@@ -635,7 +637,7 @@ http.createServer(async (req, res) => {
|
|
|
635
637
|
- Title: Go back
|
|
636
638
|
- Description: Go back to the previous page
|
|
637
639
|
- Parameters: None
|
|
638
|
-
- Read-only: **
|
|
640
|
+
- Read-only: **false**
|
|
639
641
|
|
|
640
642
|
<!-- NOTE: This has been generated via update-readme.js -->
|
|
641
643
|
|
|
@@ -662,7 +664,7 @@ http.createServer(async (req, res) => {
|
|
|
662
664
|
- Parameters:
|
|
663
665
|
- `width` (number): Width of the browser window
|
|
664
666
|
- `height` (number): Height of the browser window
|
|
665
|
-
- Read-only: **
|
|
667
|
+
- Read-only: **false**
|
|
666
668
|
|
|
667
669
|
<!-- NOTE: This has been generated via update-readme.js -->
|
|
668
670
|
|
|
@@ -718,7 +720,7 @@ http.createServer(async (req, res) => {
|
|
|
718
720
|
- `time` (number, optional): The time to wait in seconds
|
|
719
721
|
- `text` (string, optional): The text to wait for
|
|
720
722
|
- `textGone` (string, optional): The text to wait for to disappear
|
|
721
|
-
- Read-only: **
|
|
723
|
+
- Read-only: **false**
|
|
722
724
|
|
|
723
725
|
</details>
|
|
724
726
|
|
|
@@ -786,7 +788,7 @@ http.createServer(async (req, res) => {
|
|
|
786
788
|
- `element` (string): Human-readable element description used to obtain permission to interact with the element
|
|
787
789
|
- `x` (number): X coordinate
|
|
788
790
|
- `y` (number): Y coordinate
|
|
789
|
-
- Read-only: **
|
|
791
|
+
- Read-only: **false**
|
|
790
792
|
|
|
791
793
|
</details>
|
|
792
794
|
|
package/config.d.ts
CHANGED
|
@@ -149,6 +149,11 @@ export type Config = {
|
|
|
149
149
|
blockedOrigins?: string[];
|
|
150
150
|
};
|
|
151
151
|
|
|
152
|
+
/**
|
|
153
|
+
* Specify the attribute to use for test ids, defaults to "data-testid".
|
|
154
|
+
*/
|
|
155
|
+
testIdAttribute?: string;
|
|
156
|
+
|
|
152
157
|
timeouts?: {
|
|
153
158
|
/*
|
|
154
159
|
* Configures default action timeout: https://playwright.dev/docs/api/class-page#page-set-default-timeout. Defaults to 5000ms.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@playwright/mcp",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.42-alpha-2025-10-10",
|
|
4
4
|
"description": "Playwright Tools for MCP",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"playwright": "1.
|
|
39
|
-
"playwright-core": "1.
|
|
38
|
+
"playwright": "1.57.0-alpha-2025-10-09",
|
|
39
|
+
"playwright-core": "1.57.0-alpha-2025-10-09"
|
|
40
40
|
},
|
|
41
41
|
"bin": {
|
|
42
42
|
"mcp-server-playwright": "cli.js"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@modelcontextprotocol/sdk": "^1.17.5",
|
|
46
|
-
"@playwright/test": "1.
|
|
46
|
+
"@playwright/test": "1.57.0-alpha-2025-10-09",
|
|
47
47
|
"@types/node": "^24.3.0",
|
|
48
48
|
"zod-to-json-schema": "^3.24.6"
|
|
49
49
|
}
|