chore: roll 1.59.0-alpha-1770400094000 (#1375)

This commit is contained in:
Yury Semikhatsky
2026-02-06 10:00:36 -08:00
committed by GitHub
parent e39e83bb13
commit fe2e818968
6 changed files with 59 additions and 25 deletions

View File

@@ -539,6 +539,13 @@ npx @playwright/mcp@latest --config path/to/config.json
initScript?: string[];
},
/**
* Connect to a running browser instance (Edge/Chrome only). If specified, `browser`
* config is ignored.
* Requires the "Playwright MCP Bridge" browser extension to be installed.
*/
extension?: boolean;
server?: {
/**
* The port to listen on for SSE or MCP transport.
@@ -562,6 +569,7 @@ npx @playwright/mcp@latest --config path/to/config.json
* - 'core': Core browser automation features.
* - 'pdf': PDF generation and manipulation.
* - 'vision': Coordinate-based interactions.
* - 'devtools': Developer tools features.
*/
capabilities?: ToolCapability[];
@@ -615,11 +623,19 @@ npx @playwright/mcp@latest --config path/to/config.json
network?: {
/**
* List of origins to allow the browser to request. Default is to allow all. Origins matching both `allowedOrigins` and `blockedOrigins` will be blocked.
*
* Supported formats:
* - Full origin: `https://example.com:8080` - matches only that origin
* - Wildcard port: `http://localhost:*` - matches any port on localhost with http protocol
*/
allowedOrigins?: string[];
/**
* List of origins to block the browser to request. Origins matching both `allowedOrigins` and `blockedOrigins` will be blocked.
*
* Supported formats:
* - Full origin: `https://example.com:8080` - matches only that origin
* - Wildcard port: `http://localhost:*` - matches any port on localhost with http protocol
*/
blockedOrigins?: string[];
};