Compare commits

..

3 Commits

Author SHA1 Message Date
Lennon Wang
b214e8b387 docs(mcp): fix persistent profile directory name in README (#1507) 2026-04-02 15:53:36 -07:00
Pavel Feldman
d21e970b68 chore: mark v0.0.70 (#1504) 2026-03-31 17:11:11 -07:00
Pavel Feldman
8f56abaad2 chore: roll 1.60.0-alpha-1774999321000 (#1503) 2026-03-31 17:10:54 -07:00
6 changed files with 31 additions and 28 deletions

View File

@@ -372,6 +372,7 @@ Playwright MCP server supports following arguments. They can be provided in the
| --device <device> | device to emulate, for example: "iPhone 15"<br>*env* `PLAYWRIGHT_MCP_DEVICE` | | --device <device> | device to emulate, for example: "iPhone 15"<br>*env* `PLAYWRIGHT_MCP_DEVICE` |
| --executable-path <path> | path to the browser executable.<br>*env* `PLAYWRIGHT_MCP_EXECUTABLE_PATH` | | --executable-path <path> | path to the browser executable.<br>*env* `PLAYWRIGHT_MCP_EXECUTABLE_PATH` |
| --extension | Connect to a running browser instance (Edge/Chrome only). Requires the "Playwright MCP Bridge" browser extension to be installed.<br>*env* `PLAYWRIGHT_MCP_EXTENSION` | | --extension | Connect to a running browser instance (Edge/Chrome only). Requires the "Playwright MCP Bridge" browser extension to be installed.<br>*env* `PLAYWRIGHT_MCP_EXTENSION` |
| --endpoint <endpoint> | Bound browser endpoint to connect to.<br>*env* `PLAYWRIGHT_MCP_ENDPOINT` |
| --grant-permissions <permissions...> | List of permissions to grant to the browser context, for example "geolocation", "clipboard-read", "clipboard-write".<br>*env* `PLAYWRIGHT_MCP_GRANT_PERMISSIONS` | | --grant-permissions <permissions...> | List of permissions to grant to the browser context, for example "geolocation", "clipboard-read", "clipboard-write".<br>*env* `PLAYWRIGHT_MCP_GRANT_PERMISSIONS` |
| --headless | run browser in headless mode, headed by default<br>*env* `PLAYWRIGHT_MCP_HEADLESS` | | --headless | run browser in headless mode, headed by default<br>*env* `PLAYWRIGHT_MCP_HEADLESS` |
| --host <host> | host to bind server to. Default is localhost. Use 0.0.0.0 to bind to all interfaces.<br>*env* `PLAYWRIGHT_MCP_HOST` | | --host <host> | host to bind server to. Default is localhost. Use 0.0.0.0 to bind to all interfaces.<br>*env* `PLAYWRIGHT_MCP_HOST` |
@@ -412,15 +413,17 @@ Persistent profile is located at the following locations and you can override it
```bash ```bash
# Windows # Windows
%USERPROFILE%\AppData\Local\ms-playwright\mcp-{channel}-profile %USERPROFILE%\AppData\Local\ms-playwright\mcp-{channel}-{workspace-hash}
# macOS # macOS
- ~/Library/Caches/ms-playwright/mcp-{channel}-profile - ~/Library/Caches/ms-playwright/mcp-{channel}-{workspace-hash}
# Linux # Linux
- ~/.cache/ms-playwright/mcp-{channel}-profile - ~/.cache/ms-playwright/mcp-{channel}-{workspace-hash}
``` ```
`{workspace-hash}` is derived from the MCP client's workspace root, so different projects get separate profiles automatically.
**Isolated** **Isolated**
In the isolated mode, each session is started in the isolated profile. Every time you ask MCP to close the browser, In the isolated mode, each session is started in the isolated profile. Every time you ask MCP to close the browser,

36
package-lock.json generated
View File

@@ -1,19 +1,19 @@
{ {
"name": "playwright-mcp-internal", "name": "playwright-mcp-internal",
"version": "0.0.69", "version": "0.0.70",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "playwright-mcp-internal", "name": "playwright-mcp-internal",
"version": "0.0.69", "version": "0.0.70",
"license": "Apache-2.0", "license": "Apache-2.0",
"workspaces": [ "workspaces": [
"packages/*" "packages/*"
], ],
"devDependencies": { "devDependencies": {
"@modelcontextprotocol/sdk": "^1.25.2", "@modelcontextprotocol/sdk": "^1.25.2",
"@playwright/test": "1.59.0-alpha-1774912654000", "@playwright/test": "1.60.0-alpha-1774999321000",
"@types/node": "^24.3.0" "@types/node": "^24.3.0"
} }
}, },
@@ -854,13 +854,13 @@
"link": true "link": true
}, },
"node_modules/@playwright/test": { "node_modules/@playwright/test": {
"version": "1.59.0-alpha-1774912654000", "version": "1.60.0-alpha-1774999321000",
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.59.0-alpha-1774912654000.tgz", "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.60.0-alpha-1774999321000.tgz",
"integrity": "sha512-/OjIU6mfPP7UisfqKLnKqjG8gDq4gwoek55z6VqaWnGgZnRdJwCNBao5Azymk5qmp7hzxu3rXdW0sFmsNXLEfQ==", "integrity": "sha512-vUvFOjH6jnQ2/noiZe24f5sr+SSOk15Qz49/C9XbwELDZ9So2kys7NhiEfzkTWcnieHRurL04YVl44h2mwDbPw==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"playwright": "1.59.0-alpha-1774912654000" "playwright": "1.60.0-alpha-1774999321000"
}, },
"bin": { "bin": {
"playwright": "cli.js" "playwright": "cli.js"
@@ -2624,12 +2624,12 @@
} }
}, },
"node_modules/playwright": { "node_modules/playwright": {
"version": "1.59.0-alpha-1774912654000", "version": "1.60.0-alpha-1774999321000",
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.59.0-alpha-1774912654000.tgz", "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.60.0-alpha-1774999321000.tgz",
"integrity": "sha512-98v8NQ0ZaNTdOhwo24sq7Y79wuh+Q6TShG6DKgyQIUr4cBV5gDRIcRjTVZz5LhwYAwCOXCanvY5er47mowV8ww==", "integrity": "sha512-Bd5DkzYKG+2g1jLO6NeTXmGLbBYSFffJIOsR4l4hUBkJvzvGGdLZ7jZb2tOtb0WIoWXQKdQj3Ap6WthV4DBS8w==",
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"playwright-core": "1.59.0-alpha-1774912654000" "playwright-core": "1.60.0-alpha-1774999321000"
}, },
"bin": { "bin": {
"playwright": "cli.js" "playwright": "cli.js"
@@ -2646,9 +2646,9 @@
"link": true "link": true
}, },
"node_modules/playwright-core": { "node_modules/playwright-core": {
"version": "1.59.0-alpha-1774912654000", "version": "1.60.0-alpha-1774999321000",
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.59.0-alpha-1774912654000.tgz", "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.60.0-alpha-1774999321000.tgz",
"integrity": "sha512-A4zBS+GASROUFrHTMeC0ySI1+f/Wjbm0OJIAUFu4q+0Si3tfLg742dGwq1AezmMBovINt6Fi7fOTjtGZCQQCEw==", "integrity": "sha512-ams3Zo4VXxeOg5ZTTh16GkE8g48Bmxo/9pg9gXl9SVKlVohCU7Jaog7XntY8yFuzENA6dJc1Fz7Z/NNTm9nGEw==",
"license": "Apache-2.0", "license": "Apache-2.0",
"bin": { "bin": {
"playwright-core": "cli.js" "playwright-core": "cli.js"
@@ -3416,7 +3416,7 @@
}, },
"packages/extension": { "packages/extension": {
"name": "@playwright/mcp-extension", "name": "@playwright/mcp-extension",
"version": "0.0.69", "version": "0.0.70",
"license": "Apache-2.0", "license": "Apache-2.0",
"devDependencies": { "devDependencies": {
"@types/chrome": "^0.0.315", "@types/chrome": "^0.0.315",
@@ -3441,11 +3441,11 @@
}, },
"packages/playwright-mcp": { "packages/playwright-mcp": {
"name": "@playwright/mcp", "name": "@playwright/mcp",
"version": "0.0.69", "version": "0.0.70",
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"playwright": "1.59.0-alpha-1774912654000", "playwright": "1.60.0-alpha-1774999321000",
"playwright-core": "1.59.0-alpha-1774912654000" "playwright-core": "1.60.0-alpha-1774999321000"
}, },
"bin": { "bin": {
"playwright-mcp": "cli.js" "playwright-mcp": "cli.js"

View File

@@ -1,6 +1,6 @@
{ {
"name": "playwright-mcp-internal", "name": "playwright-mcp-internal",
"version": "0.0.69", "version": "0.0.70",
"private": true, "private": true,
"repository": { "repository": {
"type": "git", "type": "git",
@@ -26,7 +26,7 @@
], ],
"devDependencies": { "devDependencies": {
"@modelcontextprotocol/sdk": "^1.25.2", "@modelcontextprotocol/sdk": "^1.25.2",
"@playwright/test": "1.59.0-alpha-1774912654000", "@playwright/test": "1.60.0-alpha-1774999321000",
"@types/node": "^24.3.0" "@types/node": "^24.3.0"
} }
} }

View File

@@ -1,7 +1,7 @@
{ {
"manifest_version": 3, "manifest_version": 3,
"name": "Playwright MCP Bridge", "name": "Playwright MCP Bridge",
"version": "0.0.69", "version": "0.0.70",
"description": "Share browser tabs with Playwright MCP server", "description": "Share browser tabs with Playwright MCP server",
"permissions": [ "permissions": [
"debugger", "debugger",

View File

@@ -1,6 +1,6 @@
{ {
"name": "@playwright/mcp-extension", "name": "@playwright/mcp-extension",
"version": "0.0.69", "version": "0.0.70",
"description": "Playwright MCP Browser Extension", "description": "Playwright MCP Browser Extension",
"private": true, "private": true,
"repository": { "repository": {

View File

@@ -1,6 +1,6 @@
{ {
"name": "@playwright/mcp", "name": "@playwright/mcp",
"version": "0.0.69", "version": "0.0.70",
"description": "Playwright Tools for MCP", "description": "Playwright Tools for MCP",
"repository": { "repository": {
"type": "git", "type": "git",
@@ -33,8 +33,8 @@
} }
}, },
"dependencies": { "dependencies": {
"playwright": "1.59.0-alpha-1774912654000", "playwright": "1.60.0-alpha-1774999321000",
"playwright-core": "1.59.0-alpha-1774912654000" "playwright-core": "1.60.0-alpha-1774999321000"
}, },
"bin": { "bin": {
"playwright-mcp": "cli.js" "playwright-mcp": "cli.js"