Add powerful browser UI customization options to browser_configure tool: - slowMo: Visual delays for demo recordings and training videos - devtools: Auto-open Chrome DevTools for debugging sessions - args: Custom browser launch arguments for themes and behavior - chromiumSandbox: Sandbox control for container deployments Key features: • Dark mode interface support with --force-dark-mode • Demo recording optimization with configurable action delays • DevTools integration for development workflows • Container deployment flexibility with sandbox control • Comprehensive argument merging without duplicates Includes complete documentation, testing suite, and production-ready validation. Addresses user request for browser UI differentiation and visual customization capabilities. Technical changes: - Enhanced Context.updateBrowserConfig() with UI parameter handling - Extended configure tool schema with new Zod validations - Fixed TypeScript compilation with skipLibCheck for upstream deps - Added comprehensive test suite and documentation guide
76 lines
2.2 KiB
JSON
76 lines
2.2 KiB
JSON
{
|
|
"name": "@playwright/mcp",
|
|
"version": "0.0.31",
|
|
"description": "Playwright Tools for MCP",
|
|
"type": "module",
|
|
"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",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"build:extension": "tsc --project extension",
|
|
"lint": "npm run update-readme && eslint . && tsc --noEmit",
|
|
"lint-fix": "eslint . --fix",
|
|
"update-readme": "node utils/update-readme.js",
|
|
"watch": "tsc --watch",
|
|
"watch:extension": "tsc --watch --project extension",
|
|
"test": "playwright test",
|
|
"ctest": "playwright test --project=chrome",
|
|
"ftest": "playwright test --project=firefox",
|
|
"wtest": "playwright test --project=webkit",
|
|
"run-server": "node lib/browserServer.js",
|
|
"clean": "rm -rf lib extension/lib",
|
|
"npm-publish": "npm run clean && npm run build && npm run test && npm publish"
|
|
},
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"types": "./index.d.ts",
|
|
"default": "./index.js"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@modelcontextprotocol/sdk": "^1.16.0",
|
|
"commander": "^13.1.0",
|
|
"debug": "^4.4.1",
|
|
"dotenv": "^17.2.0",
|
|
"mime": "^4.0.7",
|
|
"playwright": "1.55.0-alpha-1752701791000",
|
|
"playwright-core": "1.55.0-alpha-1752701791000",
|
|
"ws": "^8.18.1",
|
|
"zod-to-json-schema": "^3.24.4"
|
|
},
|
|
"devDependencies": {
|
|
"@anthropic-ai/sdk": "^0.57.0",
|
|
"@eslint/eslintrc": "^3.2.0",
|
|
"@eslint/js": "^9.19.0",
|
|
"@playwright/test": "1.55.0-alpha-1752701791000",
|
|
"@stylistic/eslint-plugin": "^3.0.1",
|
|
"@types/chrome": "^0.0.315",
|
|
"@types/debug": "^4.1.12",
|
|
"@types/node": "^22.13.10",
|
|
"@types/ws": "^8.18.1",
|
|
"@typescript-eslint/eslint-plugin": "^8.26.1",
|
|
"@typescript-eslint/parser": "^8.26.1",
|
|
"@typescript-eslint/utils": "^8.26.1",
|
|
"eslint": "^9.19.0",
|
|
"eslint-plugin-import": "^2.31.0",
|
|
"eslint-plugin-notice": "^1.0.0",
|
|
"minimatch": "^9.0.5",
|
|
"openai": "^5.10.2",
|
|
"typescript": "^5.8.2"
|
|
},
|
|
"bin": {
|
|
"mcp-server-playwright": "cli.js"
|
|
}
|
|
}
|