chore: mark v0.0.48 (#1218)

This commit is contained in:
Pavel Feldman
2025-11-21 14:34:32 -08:00
committed by GitHub
parent 3f7e2d1b45
commit 64f65ccd10
8 changed files with 46 additions and 26 deletions

View File

@@ -8,12 +8,12 @@
"source": "github" "source": "github"
}, },
"websiteUrl": "https://github.com/microsoft/playwright-mcp", "websiteUrl": "https://github.com/microsoft/playwright-mcp",
"version": "0.0.47", "version": "0.0.48",
"packages": [ "packages": [
{ {
"registryType": "npm", "registryType": "npm",
"identifier": "@playwright/mcp", "identifier": "@playwright/mcp",
"version": "0.0.47", "version": "0.0.48",
"transport": { "transport": {
"type": "stdio" "type": "stdio"
} }

View File

@@ -270,6 +270,21 @@ Playwright MCP server supports following arguments. They can be provided in the
server is allowed to serve from. server is allowed to serve from.
Defaults to the host the server is bound Defaults to the host the server is bound
to. Pass '*' to disable the host check. to. Pass '*' to disable the host check.
--allowed-origins <origins> semicolon-separated list of TRUSTED
origins to allow the browser to request.
Default is to allow all.
Important: *does not* serve as a
security boundary and *does not* affect
redirects.
--blocked-origins <origins> semicolon-separated list of origins to
block the browser from requesting.
Blocklist is evaluated before allowlist.
If used without the allowlist, requests
not matching the blocklist are still
allowed.
Important: *does not* serve as a
security boundary and *does not* affect
redirects.
--block-service-workers block service workers --block-service-workers block service workers
--browser <browser> browser or chrome channel to use, --browser <browser> browser or chrome channel to use,
possible values: chrome, firefox, possible values: chrome, firefox,

5
config.d.ts vendored
View File

@@ -69,6 +69,11 @@ export type Config = {
*/ */
remoteEndpoint?: string; remoteEndpoint?: string;
/**
* Paths to TypeScript files to add as initialization scripts for Playwright page.
*/
initPage?: string[];
/** /**
* Paths to JavaScript files to add as initialization scripts. * Paths to JavaScript files to add as initialization scripts.
* The scripts will be evaluated in every page before any of the page's scripts. * The scripts will be evaluated in every page before any of the page's scripts.

View File

@@ -1,7 +1,7 @@
{ {
"manifest_version": 3, "manifest_version": 3,
"name": "Playwright MCP Bridge", "name": "Playwright MCP Bridge",
"version": "0.0.47", "version": "0.0.48",
"description": "Share browser tabs with Playwright MCP server", "description": "Share browser tabs with Playwright MCP server",
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA9nMS2b0WCohjVHPGb8D9qAdkbIngDqoAjTeSccHJijgcONejge+OJxOQOMLu7b0ovt1c9BiEJa5JcpM+EHFVGL1vluBxK71zmBy1m2f9vZF3HG0LSCp7YRkum9rAIEthDwbkxx6XTvpmAY5rjFa/NON6b9Hlbo+8peUSkoOK7HTwYnnI36asZ9eUTiveIf+DMPLojW2UX33vDWG2UKvMVDewzclb4+uLxAYshY7Mx8we/b44xu+Anb/EBLKjOPk9Yh541xJ5Ozc8EiP/5yxOp9c/lRiYUHaRW+4r0HKZyFt0eZ52ti2iM4Nfk7jRXR7an3JPsUIf5deC/1cVM/+1ZQIDAQAB", "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA9nMS2b0WCohjVHPGb8D9qAdkbIngDqoAjTeSccHJijgcONejge+OJxOQOMLu7b0ovt1c9BiEJa5JcpM+EHFVGL1vluBxK71zmBy1m2f9vZF3HG0LSCp7YRkum9rAIEthDwbkxx6XTvpmAY5rjFa/NON6b9Hlbo+8peUSkoOK7HTwYnnI36asZ9eUTiveIf+DMPLojW2UX33vDWG2UKvMVDewzclb4+uLxAYshY7Mx8we/b44xu+Anb/EBLKjOPk9Yh541xJ5Ozc8EiP/5yxOp9c/lRiYUHaRW+4r0HKZyFt0eZ52ti2iM4Nfk7jRXR7an3JPsUIf5deC/1cVM/+1ZQIDAQAB",
"permissions": [ "permissions": [

View File

@@ -1,12 +1,12 @@
{ {
"name": "@playwright/mcp-extension", "name": "@playwright/mcp-extension",
"version": "0.0.47", "version": "0.0.48",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@playwright/mcp-extension", "name": "@playwright/mcp-extension",
"version": "0.0.47", "version": "0.0.48",
"license": "Apache-2.0", "license": "Apache-2.0",
"devDependencies": { "devDependencies": {
"@types/chrome": "^0.0.315", "@types/chrome": "^0.0.315",

View File

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

32
package-lock.json generated
View File

@@ -1,23 +1,23 @@
{ {
"name": "@playwright/mcp", "name": "@playwright/mcp",
"version": "0.0.47", "version": "0.0.48",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@playwright/mcp", "name": "@playwright/mcp",
"version": "0.0.47", "version": "0.0.48",
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"playwright": "1.57.0-alpha-2025-11-14", "playwright": "1.58.0-alpha-1763757971000",
"playwright-core": "1.57.0-alpha-2025-11-14" "playwright-core": "1.58.0-alpha-1763757971000"
}, },
"bin": { "bin": {
"mcp-server-playwright": "cli.js" "mcp-server-playwright": "cli.js"
}, },
"devDependencies": { "devDependencies": {
"@modelcontextprotocol/sdk": "^1.17.5", "@modelcontextprotocol/sdk": "^1.17.5",
"@playwright/test": "1.57.0-alpha-2025-11-14", "@playwright/test": "1.58.0-alpha-1763757971000",
"@types/node": "^24.3.0", "@types/node": "^24.3.0",
"zod-to-json-schema": "^3.24.6" "zod-to-json-schema": "^3.24.6"
}, },
@@ -50,13 +50,13 @@
} }
}, },
"node_modules/@playwright/test": { "node_modules/@playwright/test": {
"version": "1.57.0-alpha-2025-11-14", "version": "1.58.0-alpha-1763757971000",
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.57.0-alpha-2025-11-14.tgz", "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.58.0-alpha-1763757971000.tgz",
"integrity": "sha512-CtIvv2qi3Wji3G2Oiwj26QeGosdj6z6IgzQyw3Jp2t8uVWDTQtNekdHi8Q8ONJqlJID8Lf45DMl4o31uOMzVOw==", "integrity": "sha512-7qItUHqUH9dOaLvydEZuE3+pfXa/BHzAlrG0XlVWUL5xo//7xKNtj6qjyQKvR/bUySofT7PmFJGP6EUHKaV9UQ==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"playwright": "1.57.0-alpha-2025-11-14" "playwright": "1.58.0-alpha-1763757971000"
}, },
"bin": { "bin": {
"playwright": "cli.js" "playwright": "cli.js"
@@ -825,12 +825,12 @@
} }
}, },
"node_modules/playwright": { "node_modules/playwright": {
"version": "1.57.0-alpha-2025-11-14", "version": "1.58.0-alpha-1763757971000",
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.57.0-alpha-2025-11-14.tgz", "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.58.0-alpha-1763757971000.tgz",
"integrity": "sha512-B91cAwJw+dlsPi6GnJD6bAUfso/ygmrxsXHnbFqOd5UmGo8bZzFf7WvSkB/47lOSYIP+9szVXwMwIsZ4Fj+rAQ==", "integrity": "sha512-Ck2UJWEaHULTN2hSjdcCpYF3wd5R8gde3IGRhms8Fb9YpqKHRiAzQqnlmouPlSh5pF+Mg9aZTtrtjq3NeIiXkQ==",
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"playwright-core": "1.57.0-alpha-2025-11-14" "playwright-core": "1.58.0-alpha-1763757971000"
}, },
"bin": { "bin": {
"playwright": "cli.js" "playwright": "cli.js"
@@ -843,9 +843,9 @@
} }
}, },
"node_modules/playwright-core": { "node_modules/playwright-core": {
"version": "1.57.0-alpha-2025-11-14", "version": "1.58.0-alpha-1763757971000",
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.57.0-alpha-2025-11-14.tgz", "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.58.0-alpha-1763757971000.tgz",
"integrity": "sha512-Elz1kUiW8naXjunmfgaYh9inaqxT04FjR/CDOi2IH7ZBDTov6tTcNV4bObNeHSBV76YVPHsRK/96v3kG9F+5sQ==", "integrity": "sha512-4nN53aSvtlz05uFtHn4+PABtZba8Z+jJKLRbPF0+mmoLfD2n9hAGZbvvrVy+iKmoUEvsHbKOBZCJ2NlKjIzZ9w==",
"license": "Apache-2.0", "license": "Apache-2.0",
"bin": { "bin": {
"playwright-core": "cli.js" "playwright-core": "cli.js"

View File

@@ -1,6 +1,6 @@
{ {
"name": "@playwright/mcp", "name": "@playwright/mcp",
"version": "0.0.47", "version": "0.0.48",
"description": "Playwright Tools for MCP", "description": "Playwright Tools for MCP",
"mcpName": "com.microsoft/playwright-mcp", "mcpName": "com.microsoft/playwright-mcp",
"repository": { "repository": {
@@ -38,15 +38,15 @@
} }
}, },
"dependencies": { "dependencies": {
"playwright": "1.57.0-alpha-2025-11-14", "playwright": "1.58.0-alpha-1763757971000",
"playwright-core": "1.57.0-alpha-2025-11-14" "playwright-core": "1.58.0-alpha-1763757971000"
}, },
"bin": { "bin": {
"mcp-server-playwright": "cli.js" "mcp-server-playwright": "cli.js"
}, },
"devDependencies": { "devDependencies": {
"@modelcontextprotocol/sdk": "^1.17.5", "@modelcontextprotocol/sdk": "^1.17.5",
"@playwright/test": "1.57.0-alpha-2025-11-14", "@playwright/test": "1.58.0-alpha-1763757971000",
"@types/node": "^24.3.0", "@types/node": "^24.3.0",
"zod-to-json-schema": "^3.24.6" "zod-to-json-schema": "^3.24.6"
} }