mirror of
https://github.com/microsoft/playwright-mcp.git
synced 2026-03-16 22:33:10 +00:00
chore: roll 1.59.0-alpha-1770400094000 (#1375)
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"minimist": "^1.2.5",
|
||||
"playwright": "1.59.0-alpha-1770338664000",
|
||||
"playwright-core": "1.59.0-alpha-1770338664000"
|
||||
"playwright": "1.59.0-alpha-1770400094000",
|
||||
"playwright-core": "1.59.0-alpha-1770400094000"
|
||||
},
|
||||
"bin": {
|
||||
"playwright-cli": "playwright-cli.js"
|
||||
|
||||
26
packages/playwright-mcp/config.d.ts
vendored
26
packages/playwright-mcp/config.d.ts
vendored
@@ -17,16 +17,18 @@
|
||||
import type * as playwright from 'playwright';
|
||||
|
||||
export type ToolCapability =
|
||||
'config' |
|
||||
'core' |
|
||||
'core-input' |
|
||||
'core-navigation' |
|
||||
'core-tabs' |
|
||||
'core-install' |
|
||||
'core-input' |
|
||||
'vision' |
|
||||
'core-install' |
|
||||
'network' |
|
||||
'pdf' |
|
||||
'storage' |
|
||||
'testing' |
|
||||
'tracing';
|
||||
'vision' |
|
||||
'devtools';
|
||||
|
||||
export type Config = {
|
||||
/**
|
||||
@@ -96,6 +98,13 @@ export type Config = {
|
||||
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.
|
||||
@@ -119,6 +128,7 @@ export type Config = {
|
||||
* - 'core': Core browser automation features.
|
||||
* - 'pdf': PDF generation and manipulation.
|
||||
* - 'vision': Coordinate-based interactions.
|
||||
* - 'devtools': Developer tools features.
|
||||
*/
|
||||
capabilities?: ToolCapability[];
|
||||
|
||||
@@ -172,11 +182,19 @@ export type Config = {
|
||||
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[];
|
||||
};
|
||||
|
||||
@@ -34,8 +34,8 @@
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"playwright": "1.59.0-alpha-1770338664000",
|
||||
"playwright-core": "1.59.0-alpha-1770338664000"
|
||||
"playwright": "1.59.0-alpha-1770400094000",
|
||||
"playwright-core": "1.59.0-alpha-1770400094000"
|
||||
},
|
||||
"bin": {
|
||||
"playwright-mcp": "cli.js"
|
||||
|
||||
Reference in New Issue
Block a user