@playwright/mcp 0.0.40-alpha-2025-09-25 → 0.0.40-alpha-2025-09-26
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 +13 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -434,6 +434,19 @@ And then in MCP client config, set the `url` to the HTTP endpoint:
|
|
|
434
434
|
}
|
|
435
435
|
```
|
|
436
436
|
|
|
437
|
+
Or If you prefer to run the container as a long-lived service instead of letting the MCP client spawn it, use:
|
|
438
|
+
|
|
439
|
+
```
|
|
440
|
+
docker run -d -i --rm --init --pull=always \
|
|
441
|
+
--entrypoint node \
|
|
442
|
+
--name playwright \
|
|
443
|
+
-p 8931:8931 \
|
|
444
|
+
mcr.microsoft.com/playwright/mcp \
|
|
445
|
+
cli.js --headless --browser chromium --no-sandbox --port 8931
|
|
446
|
+
```
|
|
447
|
+
|
|
448
|
+
The server will listen on host port **8931** and can be reached by any MCP client.
|
|
449
|
+
|
|
437
450
|
You can build the Docker image yourself.
|
|
438
451
|
|
|
439
452
|
```
|