From d6c2e7ce5ea851ad428b7b7b9e5acdf7b3c3cb54 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Sat, 14 Feb 2026 14:33:34 -0800 Subject: [PATCH] chore: roll to Feb 14 (#1405) --- Dockerfile | 2 +- README.md | 6 ++--- package-lock.json | 28 +++++++++++------------ package.json | 2 +- packages/playwright-mcp/package.json | 4 ++-- packages/playwright-mcp/tests/fixtures.ts | 2 +- 6 files changed, 22 insertions(+), 22 deletions(-) diff --git a/Dockerfile b/Dockerfile index dcd1218..8d98355 100644 --- a/Dockerfile +++ b/Dockerfile @@ -64,4 +64,4 @@ COPY --from=browser --chown=${USERNAME}:${USERNAME} ${PLAYWRIGHT_BROWSERS_PATH} COPY --chown=${USERNAME}:${USERNAME} packages/playwright-mcp/cli.js packages/playwright-mcp/package.json ./ # Run in headless and only with chromium (other browsers need more dependencies not included in this image) -ENTRYPOINT ["node", "cli.js", "--headless", "--browser", "chromium", "--no-chromium-sandbox"] +ENTRYPOINT ["node", "cli.js", "--headless", "--browser", "chromium", "--no-sandbox"] diff --git a/README.md b/README.md index fa25b65..5c773c5 100644 --- a/README.md +++ b/README.md @@ -344,8 +344,6 @@ Playwright MCP server supports following arguments. They can be provided in the | --cdp-endpoint | CDP endpoint to connect to.
*env* `PLAYWRIGHT_MCP_CDP_ENDPOINT` | | --cdp-header | CDP headers to send with the connect request, multiple can be specified.
*env* `PLAYWRIGHT_MCP_CDP_HEADER` | | --cdp-timeout | timeout in milliseconds for connecting to CDP endpoint, defaults to 30000ms
*env* `PLAYWRIGHT_MCP_CDP_TIMEOUT` | -| --chromium-sandbox | enable the chromium sandbox. disable with --no-chromium-sandbox.
*env* `PLAYWRIGHT_MCP_CHROMIUM_SANDBOX` | -| --no-chromium-sandbox | disable the chromium sandbox.
*env* `PLAYWRIGHT_MCP_NO_CHROMIUM_SANDBOX` | | --codegen | specify the language to use for code generation, possible values: "typescript", "none". Default is "typescript".
*env* `PLAYWRIGHT_MCP_CODEGEN` | | --config | path to the configuration file.
*env* `PLAYWRIGHT_MCP_CONFIG` | | --console-level | level of console messages to return: "error", "warning", "info", "debug". Each level includes the messages of more severe levels.
*env* `PLAYWRIGHT_MCP_CONSOLE_LEVEL` | @@ -360,11 +358,13 @@ Playwright MCP server supports following arguments. They can be provided in the | --init-script | path to JavaScript file to add as an initialization script. The script will be evaluated in every page before any of the page's scripts. Can be specified multiple times.
*env* `PLAYWRIGHT_MCP_INIT_SCRIPT` | | --isolated | keep the browser profile in memory, do not save it to disk.
*env* `PLAYWRIGHT_MCP_ISOLATED` | | --image-responses | whether to send image responses to the client. Can be "allow" or "omit", Defaults to "allow".
*env* `PLAYWRIGHT_MCP_IMAGE_RESPONSES` | +| --no-sandbox | disable the sandbox for all process types that are normally sandboxed.
*env* `PLAYWRIGHT_MCP_NO_SANDBOX` | | --output-dir | path to the directory for output files.
*env* `PLAYWRIGHT_MCP_OUTPUT_DIR` | | --output-mode | whether to save snapshots, console messages, network logs to a file or to the standard output. Can be "file" or "stdout". Default is "stdout".
*env* `PLAYWRIGHT_MCP_OUTPUT_MODE` | | --port | port to listen on for SSE transport.
*env* `PLAYWRIGHT_MCP_PORT` | | --proxy-bypass | comma-separated domains to bypass proxy, for example ".com,chromium.org,.domain.com"
*env* `PLAYWRIGHT_MCP_PROXY_BYPASS` | | --proxy-server | specify proxy server, for example "http://myproxy:3128" or "socks5://myproxy:8080"
*env* `PLAYWRIGHT_MCP_PROXY_SERVER` | +| --sandbox | enable the sandbox for all process types that are normally not sandboxed.
*env* `PLAYWRIGHT_MCP_SANDBOX` | | --save-session | Whether to save the Playwright MCP session into the output directory.
*env* `PLAYWRIGHT_MCP_SAVE_SESSION` | | --save-trace | Whether to save the Playwright Trace of the session into the output directory.
*env* `PLAYWRIGHT_MCP_SAVE_TRACE` | | --save-video | Whether to save the video of the session into the output directory. For example "--save-video=800x600"
*env* `PLAYWRIGHT_MCP_SAVE_VIDEO` | @@ -731,7 +731,7 @@ docker run -d -i --rm --init --pull=always \ --name playwright \ -p 8931:8931 \ mcr.microsoft.com/playwright/mcp \ - cli.js --headless --browser chromium --no-chromium-sandbox --port 8931 + cli.js --headless --browser chromium --no-sandbox --port 8931 ``` The server will listen on host port **8931** and can be reached by any MCP client. diff --git a/package-lock.json b/package-lock.json index bcc0b3d..cc14d3c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ ], "devDependencies": { "@modelcontextprotocol/sdk": "^1.25.2", - "@playwright/test": "1.59.0-alpha-1771028105000", + "@playwright/test": "1.59.0-alpha-1771104257000", "@types/node": "^24.3.0" } }, @@ -854,13 +854,13 @@ "link": true }, "node_modules/@playwright/test": { - "version": "1.59.0-alpha-1771028105000", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.59.0-alpha-1771028105000.tgz", - "integrity": "sha512-chMidCR7qg6ExeTrYP3isJ5fzIgD0bXldX4aQo1vVWPb0su5xJL0UcA5hD1qsmuP1dkUlkI4Qf2wfuxuCfxdyg==", + "version": "1.59.0-alpha-1771104257000", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.59.0-alpha-1771104257000.tgz", + "integrity": "sha512-0zUPgLuSbyO2xtA+FdEWejFpA5tYU1dINMj2D6KGbB7dgxW8V/4bOrpYS38hizSrzpdSiuRcIK7UgiNFxEeK3A==", "dev": true, "license": "Apache-2.0", "dependencies": { - "playwright": "1.59.0-alpha-1771028105000" + "playwright": "1.59.0-alpha-1771104257000" }, "bin": { "playwright": "cli.js" @@ -2626,12 +2626,12 @@ } }, "node_modules/playwright": { - "version": "1.59.0-alpha-1771028105000", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.59.0-alpha-1771028105000.tgz", - "integrity": "sha512-tSRYmBZlJt32Q0CKNlVyavvobXt+P7kFUJN+ak9wkcUo+hRSHqyAUcp6G9pRG/vilraanrS6gmAIs3cjUwwxhA==", + "version": "1.59.0-alpha-1771104257000", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.59.0-alpha-1771104257000.tgz", + "integrity": "sha512-6SCMMMJaDRsSqiKVLmb2nhtLES7iTYawTWWrQK6UdIGNzXi8lka4sLKRec3L4DnTWwddAvCuRn8035dhNiHzbg==", "license": "Apache-2.0", "dependencies": { - "playwright-core": "1.59.0-alpha-1771028105000" + "playwright-core": "1.59.0-alpha-1771104257000" }, "bin": { "playwright": "cli.js" @@ -2648,9 +2648,9 @@ "link": true }, "node_modules/playwright-core": { - "version": "1.59.0-alpha-1771028105000", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.59.0-alpha-1771028105000.tgz", - "integrity": "sha512-yEIjYyIGSWw8cuaw1hSkAQ+1EBQSdYW2RaHOgHLVAKW8iw7gs8tpY9Wr/75oGazhohRyZNNDom41SO7ktuTUcA==", + "version": "1.59.0-alpha-1771104257000", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.59.0-alpha-1771104257000.tgz", + "integrity": "sha512-YiXup3pnpQUCBMSIW5zx8CErwRx4K6O5Kojkw2BzJui8MazoMUDU6E3xGsb1kzFviEAE09LFQ+y1a0RhIJQ5SA==", "license": "Apache-2.0", "bin": { "playwright-core": "cli.js" @@ -3448,8 +3448,8 @@ "version": "0.0.67", "license": "Apache-2.0", "dependencies": { - "playwright": "1.59.0-alpha-1771028105000", - "playwright-core": "1.59.0-alpha-1771028105000" + "playwright": "1.59.0-alpha-1771104257000", + "playwright-core": "1.59.0-alpha-1771104257000" }, "bin": { "playwright-mcp": "cli.js" diff --git a/package.json b/package.json index d819f4a..af67e89 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ ], "devDependencies": { "@modelcontextprotocol/sdk": "^1.25.2", - "@playwright/test": "1.59.0-alpha-1771028105000", + "@playwright/test": "1.59.0-alpha-1771104257000", "@types/node": "^24.3.0" } } diff --git a/packages/playwright-mcp/package.json b/packages/playwright-mcp/package.json index 457fbd3..7f7536f 100644 --- a/packages/playwright-mcp/package.json +++ b/packages/playwright-mcp/package.json @@ -32,8 +32,8 @@ } }, "dependencies": { - "playwright": "1.59.0-alpha-1771028105000", - "playwright-core": "1.59.0-alpha-1771028105000" + "playwright": "1.59.0-alpha-1771104257000", + "playwright-core": "1.59.0-alpha-1771104257000" }, "bin": { "playwright-mcp": "cli.js" diff --git a/packages/playwright-mcp/tests/fixtures.ts b/packages/playwright-mcp/tests/fixtures.ts index d81faa0..4732985 100644 --- a/packages/playwright-mcp/tests/fixtures.ts +++ b/packages/playwright-mcp/tests/fixtures.ts @@ -80,7 +80,7 @@ export const test = baseTest.extend( await use(async options => { const args: string[] = mcpArgs ?? []; if (process.env.CI && process.platform === 'linux') - args.push('--no-chromium-sandbox'); + args.push('--no-sandbox'); if (mcpHeadless) args.push('--headless'); if (mcpBrowser)