4c50776515
## What's New ### Tool Improvements - **`browser_take_screenshot` — WebP format** — New `type` option to pick the image format (`png`, `jpeg` or `webp`); when unset, the format is inferred from the filename extension ([#41152](https://github.com/microsoft/playwright/pull/41152)) - **`--codegen` — more languages** — Code generation now supports `python`, `java` and `csharp` in addition to `typescript` ([#42106](https://github.com/microsoft/playwright/pull/42106)) - **Configurable settle delay** — New `--timeout-settle` flag (and `timeouts.settle` config option) to control how long to wait after each action for triggered work (navigations, requests) to settle, defaults to 500ms ([#41924](https://github.com/microsoft/playwright/pull/41924)) ## Fixes - Aria snapshot capture is skipped when the response discards it ([#41923](https://github.com/microsoft/playwright/pull/41923)) - New `--snapshot-boxes` flag (and `snapshot.boxes` config option) to enable bounding boxes in snapshots globally — previously this was only available per command ([#42102](https://github.com/microsoft/playwright/pull/42102)) - Reconnect to the browser after a disconnect ([#41966](https://github.com/microsoft/playwright/pull/41966)) - Report malformed JSON config instead of silently falling back to INI parsing ([#41909](https://github.com/microsoft/playwright/pull/41909)) - Clear the dialog modal state when a dialog is closed out of band ([#42032](https://github.com/microsoft/playwright/pull/42032)) - Detect downloads via the download event instead of guessing from `net::ERR_ABORTED` navigation errors ([#41933](https://github.com/microsoft/playwright/pull/41933)) - Surface the missing executable path when a browser isn't installed ([#41941](https://github.com/microsoft/playwright/pull/41941)) - Escape user input in codegen output ([#41962](https://github.com/microsoft/playwright/pull/41962)) - Removed the stale `--output-mode` CLI option ([#41833](https://github.com/microsoft/playwright/pull/41833)) ### Browser Extension - Validate `Host` and `Origin` headers on CDP relay WebSocket upgrades ([#42103](https://github.com/microsoft/playwright/pull/42103)) - Launch the Chrome profile that has the extension installed ([#41939](https://github.com/microsoft/playwright/pull/41939)) - Pass `noDefaults` for extension CDP connections ([#42119](https://github.com/microsoft/playwright/pull/42119)) - Mention `PLAYWRIGHT_MCP_EXECUTABLE_PATH` in the error shown when the browser executable is not found ([#42122](https://github.com/microsoft/playwright/pull/42122)) - Removed support for extension protocol v1 ([#41857](https://github.com/microsoft/playwright/pull/41857))
52 lines
1.5 KiB
JSON
52 lines
1.5 KiB
JSON
{
|
|
"name": "@playwright/mcp",
|
|
"version": "0.0.79",
|
|
"description": "Playwright Tools for MCP",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/microsoft/playwright-mcp.git"
|
|
},
|
|
"homepage": "https://playwright.dev",
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"author": {
|
|
"name": "Microsoft Corporation"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"mcpName": "io.github.microsoft/playwright-mcp",
|
|
"scripts": {
|
|
"lint": "node update-readme.js",
|
|
"test": "playwright test",
|
|
"ctest": "playwright test --project=chrome",
|
|
"ftest": "playwright test --project=firefox",
|
|
"wtest": "playwright test --project=webkit",
|
|
"dtest": "MCP_IN_DOCKER=1 playwright test --project=chromium-docker",
|
|
"build": "echo OK",
|
|
"npm-publish": "npm run lint && npm run test && npm publish",
|
|
"docker-build": "docker build --no-cache -t playwright-mcp-dev:latest .",
|
|
"docker-rm": "docker rm playwright-mcp-dev",
|
|
"docker-run": "docker run -it -p 8080:8080 --name playwright-mcp-dev playwright-mcp-dev:latest",
|
|
"roll": "node roll.js"
|
|
},
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"types": "./index.d.ts",
|
|
"default": "./index.js"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"playwright": "1.63.0-alpha-2026-08-05",
|
|
"playwright-core": "1.63.0-alpha-2026-08-05"
|
|
},
|
|
"devDependencies": {
|
|
"@modelcontextprotocol/sdk": "^1.25.2",
|
|
"@playwright/test": "1.63.0-alpha-2026-08-05",
|
|
"@types/node": "^24.3.0"
|
|
},
|
|
"bin": {
|
|
"playwright-mcp": "cli.js"
|
|
}
|
|
}
|