{"_id":"@democratize-quality/playwright-mcp","_rev":"2-06e170950e622b99b5eb77d2270f240f","name":"@democratize-quality/playwright-mcp","dist-tags":{"latest":"0.1.32"},"versions":{"0.0.32":{"name":"@democratize-quality/playwright-mcp","version":"0.0.32","author":{"name":"Raj Uppadhyay"},"license":"Apache-2.0","_id":"@democratize-quality/playwright-mcp@0.0.32","maintainers":[{"name":"uppadhyayraj","email":"uppadhyayraj@hotmail.com"}],"homepage":"https://github.com/uppadhyayraj/playwright-mcp#readme","bugs":{"url":"https://github.com/uppadhyayraj/playwright-mcp/issues"},"bin":{"mcp-server-playwright":"cli.js"},"dist":{"shasum":"8a1b1bc4556b63a483130dbc6ba8b54fbb498923","tarball":"https://registry.npmjs.org/@democratize-quality/playwright-mcp/-/playwright-mcp-0.0.32.tgz","fileCount":57,"integrity":"sha512-AqrtRn7BCqO2XHxLrlS/lGQQN4fe8a8+fjjXiQDi3yVN+7g3/wKh7PKuAdBN8yrm/GxyDKxOTF0TG1Oogfcfsw==","signatures":[{"sig":"MEUCICT8VKpz9kJ0FPpePnoRA8yAL3lB1NTqbdDsQu2hQIDwAiEAowYF85flqH2V8ODazdRVnOosumEjvD51QxFK3wFACvg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":256336},"type":"module","types":"./index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","default":"./index.js"},"./package.json":"./package.json"},"gitHead":"7570e2090d9bbdf645f49c1423a020e182d6cd85","scripts":{"lint":"npm run update-readme && eslint . && tsc --noEmit","test":"playwright test","build":"tsc","clean":"rm -rf lib","ctest":"playwright test --project=chrome","ftest":"playwright test --project=firefox","watch":"tsc --watch","wtest":"playwright test --project=webkit","lint-fix":"eslint . --fix","run-server":"node lib/browserServer.js","npm-publish":"npm run clean && npm run build && npm run test && npm publish","update-readme":"node utils/update-readme.js"},"_npmUser":{"name":"uppadhyayraj","email":"uppadhyayraj@hotmail.com"},"repository":{"url":"git+https://github.com/uppadhyayraj/playwright-mcp.git","type":"git"},"_npmVersion":"11.4.2","description":"Playwright Tools for MCP","directories":{},"_nodeVersion":"22.13.1","dependencies":{"ws":"^8.18.1","zod":"^3.24.1","mime":"^4.0.7","debug":"^4.4.1","dotenv":"^17.2.0","commander":"^13.1.0","playwright":"1.55.0-alpha-1753913825000","playwright-core":"1.55.0-alpha-1753913825000","zod-to-json-schema":"^3.24.4","@modelcontextprotocol/sdk":"^1.16.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.19.0","openai":"^5.10.2","esbuild":"^0.20.1","@types/ws":"^8.18.1","@eslint/js":"^9.19.0","typescript":"^5.8.2","@types/node":"^22.13.10","@types/debug":"^4.1.12","@eslint/eslintrc":"^3.2.0","@playwright/test":"1.55.0-alpha-1753913825000","@anthropic-ai/sdk":"^0.57.0","eslint-plugin-import":"^2.31.0","eslint-plugin-notice":"^1.0.0","@stylistic/eslint-plugin":"^3.0.1","@typescript-eslint/utils":"^8.26.1","@typescript-eslint/parser":"^8.26.1","@typescript-eslint/eslint-plugin":"^8.26.1"},"_npmOperationalInternal":{"tmp":"tmp/playwright-mcp_0.0.32_1753968981540_0.8370297231668185","host":"s3://npm-registry-packages-npm-production"}},"0.1.32":{"name":"@democratize-quality/playwright-mcp","version":"0.1.32","description":"Playwright Tools for MCP","type":"module","repository":{"type":"git","url":"git+https://github.com/uppadhyayraj/playwright-mcp.git"},"engines":{"node":">=18"},"author":{"name":"Raj Uppadhyay"},"license":"Apache-2.0","scripts":{"build":"tsc","lint":"npm run update-readme && eslint . && tsc --noEmit","lint-fix":"eslint . --fix","update-readme":"node utils/update-readme.js","watch":"tsc --watch","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","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-1753913825000","playwright-core":"1.55.0-alpha-1753913825000","ws":"^8.18.1","zod":"^3.24.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-1753913825000","@stylistic/eslint-plugin":"^3.0.1","@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","esbuild":"^0.20.1","eslint":"^9.19.0","eslint-plugin-import":"^2.31.0","eslint-plugin-notice":"^1.0.0","openai":"^5.10.2","typescript":"^5.8.2"},"bin":{"mcp-server-playwright":"cli.js"},"_id":"@democratize-quality/playwright-mcp@0.1.32","gitHead":"7570e2090d9bbdf645f49c1423a020e182d6cd85","types":"./index.d.ts","bugs":{"url":"https://github.com/uppadhyayraj/playwright-mcp/issues"},"homepage":"https://github.com/uppadhyayraj/playwright-mcp#readme","_nodeVersion":"22.13.1","_npmVersion":"11.4.2","dist":{"integrity":"sha512-LPx/6OeZRTx/UVe2VrvopEJiGazhptae/cTL2n7FFPWyk4DNZaBznJqQrZeW5yjo2JhoNab6ACDwBTY1IwDuqw==","shasum":"06e5ee8828a62f1de208b6315f8047a363e4df34","tarball":"https://registry.npmjs.org/@democratize-quality/playwright-mcp/-/playwright-mcp-0.1.32.tgz","fileCount":57,"unpackedSize":250703,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDZPhpgPIfaN38AiF7iwY95zOu9Mv2xjjT4Rv2sJVhZ+AiBNYe6to3VJxjceZhmAIxyWyyrH+nelxm4zlsLPXiduOg=="}]},"_npmUser":{"name":"uppadhyayraj","email":"uppadhyayraj@hotmail.com"},"directories":{},"maintainers":[{"name":"uppadhyayraj","email":"uppadhyayraj@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/playwright-mcp_0.1.32_1753970720984_0.20293358535333694"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-31T13:36:21.446Z","modified":"2025-07-31T14:05:21.336Z","0.0.32":"2025-07-31T13:36:21.711Z","0.1.32":"2025-07-31T14:05:21.162Z"},"bugs":{"url":"https://github.com/uppadhyayraj/playwright-mcp/issues"},"author":{"name":"Raj Uppadhyay"},"license":"Apache-2.0","homepage":"https://github.com/uppadhyayraj/playwright-mcp#readme","repository":{"type":"git","url":"git+https://github.com/uppadhyayraj/playwright-mcp.git"},"description":"Playwright Tools for MCP","maintainers":[{"name":"uppadhyayraj","email":"uppadhyayraj@hotmail.com"}],"readme":"## Playwright MCP - Enhanced for API Testing\n\nThis fork of the Playwright MCP server introduces powerful API testing capabilities, allowing integration with real-world API endpoints using [Playwright](https://playwright.dev).\n\n### Key API Features\n\n- **Comprehensive Method Support**: Perform HTTP API requests, including GET, POST, PUT, PATCH, and DELETE.\n- **Advanced Validation**: Validate responses with expected statuses, content-types, and body structures.\n- **Session Management**: Group related API calls using session IDs for organized reporting and debugging.\n- **Chained Requests**: Execute sequences of dependent API requests, using outputs from one step in subsequent ones.\n\n### Original Features Reference\n\nThe original Playwright MCP capabilities for browser automation remain intact and unchanged. Refer to the original documentation for full details on browser testing features.\n\n### Installation\n\nInstall the enhanced Playwright MCP server with API support (note the --caps parameter values):\n\n```js\n{\n  \"mcpServers\": {\n    \"playwright\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"@democratize-quality/playwright-mcp\",\n        \"--caps\", \n        \"api_session_report,api_session_status,api_request\"\n      ]\n    }\n  }\n}\n```\n\n### Quick Start for API Testing\n\n1. **Basic Example**:\n\n   Use the `api_request` tool for performing a GET request:\n\n   ```json\n   {\n     \"method\": \"GET\",\n     \"url\": \"https://jsonplaceholder.typicode.com/posts/1\"\n   }\n   ```\n\n2. **Advanced Features**:\n   - **Validation**: \n     ```json\n     {\n       \"method\": \"GET\",\n       \"url\": \"https://jsonplaceholder.typicode.com/posts/1\",\n       \"expect\": {\n         \"status\": 200,\n         \"contentType\": \"application/json\"\n       }\n     }\n     ```\n\n3. **Chained Requests**:\n   - Execute a login and retrieval sequence.\n     ```json\n     {\n       \"chain\": [\n         {\n           \"name\": \"login\",\n           \"method\": \"POST\",\n           \"url\": \"https://reqres.in/api/login\",\n           \"headers\": { \"Content-Type\": \"application/json\" },\n           \"data\": { \"email\": \"eve.holt@reqres.in\", \"password\": \"cityslicka\" },\n           \"extract\": { \"token\": \"token\" }\n         },\n         {\n           \"name\": \"getUser\",\n           \"method\": \"GET\",\n           \"url\": \"https://reqres.in/api/users/2\",\n           \"headers\": { \"Authorization\": \"Bearer {{login.token}}\" }\n         }\n       ]\n     }\n     ```\n\nFor more detailed API usage examples and advanced scenarios, refer to the accompanying `api_tool_usage.md` guide.\n\n### Requirements\n\n- Node.js 18 or newer\n- VS Code, Cursor, Windsurf, Claude Desktop, Goose or any other MCP client\n\n### Configuration\n\nPlaywright MCP server supports following arguments. They can be provided in the JSON configuration above, as a part of the `\"args\"` list:\n\n<!--- Options generated by update-readme.js -->\n\n```\n> npx @democratize-quality/playwright-mcp --help\n  --allowed-origins <origins>  semicolon-separated list of origins to allow the\n                               browser to request. Default is to allow all.\n  --blocked-origins <origins>  semicolon-separated list of origins to block the\n                               browser from requesting. Blocklist is evaluated\n                               before allowlist. If used without the allowlist,\n                               requests not matching the blocklist are still\n                               allowed.\n  --block-service-workers      block service workers\n  --browser <browser>          browser or chrome channel to use, possible\n                               values: chrome, firefox, webkit, msedge.\n  --caps <caps>                comma-separated list of additional capabilities\n                               to enable, possible values: vision, pdf.\n  --cdp-endpoint <endpoint>    CDP endpoint to connect to.\n  --config <path>              path to the configuration file.\n  --device <device>            device to emulate, for example: \"iPhone 15\"\n  --executable-path <path>     path to the browser executable.\n  --headless                   run browser in headless mode, headed by default\n  --host <host>                host to bind server to. Default is localhost. Use\n                               0.0.0.0 to bind to all interfaces.\n  --ignore-https-errors        ignore https errors\n  --isolated                   keep the browser profile in memory, do not save\n                               it to disk.\n  --image-responses <mode>     whether to send image responses to the client.\n                               Can be \"allow\" or \"omit\", Defaults to \"allow\".\n  --no-sandbox                 disable the sandbox for all process types that\n                               are normally sandboxed.\n  --output-dir <path>          path to the directory for output files.\n  --port <port>                port to listen on for SSE transport.\n  --proxy-bypass <bypass>      comma-separated domains to bypass proxy, for\n                               example \".com,chromium.org,.domain.com\"\n  --proxy-server <proxy>       specify proxy server, for example\n                               \"http://myproxy:3128\" or \"socks5://myproxy:8080\"\n  --save-session               Whether to save the Playwright MCP session into\n                               the output directory.\n  --save-trace                 Whether to save the Playwright Trace of the\n                               session into the output directory.\n  --storage-state <path>       path to the storage state file for isolated\n                               sessions.\n  --user-agent <ua string>     specify user agent string\n  --user-data-dir <path>       path to the user data directory. If not\n                               specified, a temporary directory will be created.\n  --viewport-size <size>       specify browser viewport size in pixels, for\n                               example \"1280, 720\"\n```\n\n<!--- End of options generated section -->\n\n### User profile\n\nYou can run Playwright MCP with persistent profile like a regular browser (default), or in the isolated contexts for the testing sessions.\n\n**Persistent profile**\n\nAll the logged in information will be stored in the persistent profile, you can delete it between sessions if you'd like to clear the offline state.\nPersistent profile is located at the following locations and you can override it with the `--user-data-dir` argument.\n\n```bash\n# Windows\n%USERPROFILE%\\AppData\\Local\\ms-playwright\\mcp-{channel}-profile\n\n# macOS\n- ~/Library/Caches/ms-playwright/mcp-{channel}-profile\n\n# Linux\n- ~/.cache/ms-playwright/mcp-{channel}-profile\n```\n\n**Isolated**\n\nIn the isolated mode, each session is started in the isolated profile. Every time you ask MCP to close the browser,\nthe session is closed and all the storage state for this session is lost. You can provide initial storage state\nto the browser via the config's `contextOptions` or via the `--storage-state` argument. Learn more about the storage\nstate [here](https://playwright.dev/docs/auth).\n\n```js\n{\n  \"mcpServers\": {\n    \"playwright\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"@democratize-quality/playwright-mcp\",\n        \"--isolated\",\n        \"--storage-state={path/to/storage.json}\",\n        \"--caps\",\n        \"api_session_report,api_session_status,api_request\"\n      ]\n    }\n  }\n}\n```\n\n### Configuration file\n\nThe Playwright MCP server can be configured using a JSON configuration file. You can specify the configuration file\nusing the `--config` command line option:\n\n```bash\nnpx @democratize-quality/playwright-mcp --config path/to/config.json --caps api_session_report,api_session_status,api_request\n```\n\n\n### Standalone MCP server\n\nWhen running headed browser on system w/o display or from worker processes of the IDEs,\nrun the MCP server from environment with the DISPLAY and pass the `--port` flag to enable HTTP transport.\n\n```bash\nnpx @democratize-quality/playwright-mcp --port 8931 --caps api_session_report,api_session_status,api_request\n```\n\nAnd then in MCP client config, set the `url` to the HTTP endpoint:\n\n```js\n{\n  \"mcpServers\": {\n    \"playwright\": {\n      \"url\": \"http://localhost:8931/mcp\"\n    }\n  }\n}\n```\n\n<details>\n<summary><b>Docker</b></summary>\n\n**NOTE:** The Docker implementation only supports headless chromium at the moment.\n\n```js\n{\n  \"mcpServers\": {\n    \"playwright\": {\n      \"command\": \"docker\",\n      \"args\": [\"run\", \"-i\", \"--rm\", \"--init\", \"--pull=always\", \"mcr.microsoft.com/playwright/mcp\"]\n    }\n  }\n}\n```\n\nYou can build the Docker image yourself.\n\n```\ndocker build -t mcr.microsoft.com/playwright/mcp .\n```\n</details>\n\n### Tools\n\n<!--- Tools generated by update-readme.js -->\n<details>\n<summary><b>API request tools (opt-in via --caps=api_request)</b></summary>\n\n<!-- NOTE: This has been generated via update-readme.js -->\n\n- **api_request**\n  - Title: API Request\n  - Description: Perform an HTTP API request and validate the response.\n  - Parameters:\n    - `sessionId` (string, optional): undefined\n    - `method` (string, optional): undefined\n    - `url` (string, optional): undefined\n    - `headers` (object, optional): undefined\n    - `data` (optional): undefined\n    - `expect` (object, optional): undefined\n    - `chain` (array, optional): undefined\n  - Read-only: **true**\n\n</details>\n\n<details>\n<summary><b>API session status (opt-in via --caps=api_session_status)</b></summary>\n\n<!-- NOTE: This has been generated via update-readme.js -->\n\n- **api_session_status**\n  - Title: API Session Status\n  - Description: Query API test session status, logs, and results by sessionId.\n  - Parameters:\n    - `sessionId` (string): undefined\n  - Read-only: **true**\n\n</details>\n\n<details>\n<summary><b>API session reporting (opt-in via --caps=api_session_report)</b></summary>\n\n<!-- NOTE: This has been generated via update-readme.js -->\n\n- **api_session_report**\n  - Title: API Session HTML Report\n  - Description: Generate and retrieve an HTML report for an API test session by sessionId.\n  - Parameters:\n    - `sessionId` (string): undefined\n  - Read-only: **true**\n\n</details>\n<details>\n<summary><b>Core automation</b></summary>\n\n<!-- NOTE: This has been generated via update-readme.js -->\n\n- **browser_click**\n  - Title: Click\n  - Description: Perform click on a web page\n  - Parameters:\n    - `element` (string): Human-readable element description used to obtain permission to interact with the element\n    - `ref` (string): Exact target element reference from the page snapshot\n    - `doubleClick` (boolean, optional): Whether to perform a double click instead of a single click\n    - `button` (string, optional): Button to click, defaults to left\n  - Read-only: **false**\n\n<!-- NOTE: This has been generated via update-readme.js -->\n\n- **browser_close**\n  - Title: Close browser\n  - Description: Close the page\n  - Parameters: None\n  - Read-only: **true**\n\n<!-- NOTE: This has been generated via update-readme.js -->\n\n- **browser_console_messages**\n  - Title: Get console messages\n  - Description: Returns all console messages\n  - Parameters: None\n  - Read-only: **true**\n\n<!-- NOTE: This has been generated via update-readme.js -->\n\n- **browser_drag**\n  - Title: Drag mouse\n  - Description: Perform drag and drop between two elements\n  - Parameters:\n    - `startElement` (string): Human-readable source element description used to obtain the permission to interact with the element\n    - `startRef` (string): Exact source element reference from the page snapshot\n    - `endElement` (string): Human-readable target element description used to obtain the permission to interact with the element\n    - `endRef` (string): Exact target element reference from the page snapshot\n  - Read-only: **false**\n\n<!-- NOTE: This has been generated via update-readme.js -->\n\n- **browser_evaluate**\n  - Title: Evaluate JavaScript\n  - Description: Evaluate JavaScript expression on page or element\n  - Parameters:\n    - `function` (string): () => { /* code */ } or (element) => { /* code */ } when element is provided\n    - `element` (string, optional): Human-readable element description used to obtain permission to interact with the element\n    - `ref` (string, optional): Exact target element reference from the page snapshot\n  - Read-only: **false**\n\n<!-- NOTE: This has been generated via update-readme.js -->\n\n- **browser_file_upload**\n  - Title: Upload files\n  - Description: Upload one or multiple files\n  - Parameters:\n    - `paths` (array): The absolute paths to the files to upload. Can be a single file or multiple files.\n  - Read-only: **false**\n\n<!-- NOTE: This has been generated via update-readme.js -->\n\n- **browser_handle_dialog**\n  - Title: Handle a dialog\n  - Description: Handle a dialog\n  - Parameters:\n    - `accept` (boolean): Whether to accept the dialog.\n    - `promptText` (string, optional): The text of the prompt in case of a prompt dialog.\n  - Read-only: **false**\n\n<!-- NOTE: This has been generated via update-readme.js -->\n\n- **browser_hover**\n  - Title: Hover mouse\n  - Description: Hover over element on page\n  - Parameters:\n    - `element` (string): Human-readable element description used to obtain permission to interact with the element\n    - `ref` (string): Exact target element reference from the page snapshot\n  - Read-only: **true**\n\n<!-- NOTE: This has been generated via update-readme.js -->\n\n- **browser_navigate**\n  - Title: Navigate to a URL\n  - Description: Navigate to a URL\n  - Parameters:\n    - `url` (string): The URL to navigate to\n  - Read-only: **false**\n\n<!-- NOTE: This has been generated via update-readme.js -->\n\n- **browser_navigate_back**\n  - Title: Go back\n  - Description: Go back to the previous page\n  - Parameters: None\n  - Read-only: **true**\n\n<!-- NOTE: This has been generated via update-readme.js -->\n\n- **browser_navigate_forward**\n  - Title: Go forward\n  - Description: Go forward to the next page\n  - Parameters: None\n  - Read-only: **true**\n\n<!-- NOTE: This has been generated via update-readme.js -->\n\n- **browser_network_requests**\n  - Title: List network requests\n  - Description: Returns all network requests since loading the page\n  - Parameters: None\n  - Read-only: **true**\n\n<!-- NOTE: This has been generated via update-readme.js -->\n\n- **browser_press_key**\n  - Title: Press a key\n  - Description: Press a key on the keyboard\n  - Parameters:\n    - `key` (string): Name of the key to press or a character to generate, such as `ArrowLeft` or `a`\n  - Read-only: **false**\n\n<!-- NOTE: This has been generated via update-readme.js -->\n\n- **browser_resize**\n  - Title: Resize browser window\n  - Description: Resize the browser window\n  - Parameters:\n    - `width` (number): Width of the browser window\n    - `height` (number): Height of the browser window\n  - Read-only: **true**\n\n<!-- NOTE: This has been generated via update-readme.js -->\n\n- **browser_select_option**\n  - Title: Select option\n  - Description: Select an option in a dropdown\n  - Parameters:\n    - `element` (string): Human-readable element description used to obtain permission to interact with the element\n    - `ref` (string): Exact target element reference from the page snapshot\n    - `values` (array): Array of values to select in the dropdown. This can be a single value or multiple values.\n  - Read-only: **false**\n\n<!-- NOTE: This has been generated via update-readme.js -->\n\n- **browser_snapshot**\n  - Title: Page snapshot\n  - Description: Capture accessibility snapshot of the current page, this is better than screenshot\n  - Parameters: None\n  - Read-only: **true**\n\n<!-- NOTE: This has been generated via update-readme.js -->\n\n- **browser_take_screenshot**\n  - Title: Take a screenshot\n  - Description: Take a screenshot of the current page. You can't perform actions based on the screenshot, use browser_snapshot for actions.\n  - Parameters:\n    - `type` (string, optional): Image format for the screenshot. Default is png.\n    - `filename` (string, optional): File name to save the screenshot to. Defaults to `page-{timestamp}.{png|jpeg}` if not specified.\n    - `element` (string, optional): Human-readable element description used to obtain permission to screenshot the element. If not provided, the screenshot will be taken of viewport. If element is provided, ref must be provided too.\n    - `ref` (string, optional): Exact target element reference from the page snapshot. If not provided, the screenshot will be taken of viewport. If ref is provided, element must be provided too.\n    - `fullPage` (boolean, optional): When true, takes a screenshot of the full scrollable page, instead of the currently visible viewport. Cannot be used with element screenshots.\n  - Read-only: **true**\n\n<!-- NOTE: This has been generated via update-readme.js -->\n\n- **browser_type**\n  - Title: Type text\n  - Description: Type text into editable element\n  - Parameters:\n    - `element` (string): Human-readable element description used to obtain permission to interact with the element\n    - `ref` (string): Exact target element reference from the page snapshot\n    - `text` (string): Text to type into the element\n    - `submit` (boolean, optional): Whether to submit entered text (press Enter after)\n    - `slowly` (boolean, optional): Whether to type one character at a time. Useful for triggering key handlers in the page. By default entire text is filled in at once.\n  - Read-only: **false**\n\n<!-- NOTE: This has been generated via update-readme.js -->\n\n- **browser_wait_for**\n  - Title: Wait for\n  - Description: Wait for text to appear or disappear or a specified time to pass\n  - Parameters:\n    - `time` (number, optional): The time to wait in seconds\n    - `text` (string, optional): The text to wait for\n    - `textGone` (string, optional): The text to wait for to disappear\n  - Read-only: **true**\n\n</details>\n\n<details>\n<summary><b>Tab management</b></summary>\n\n<!-- NOTE: This has been generated via update-readme.js -->\n\n- **browser_tab_close**\n  - Title: Close a tab\n  - Description: Close a tab\n  - Parameters:\n    - `index` (number, optional): The index of the tab to close. Closes current tab if not provided.\n  - Read-only: **false**\n\n<!-- NOTE: This has been generated via update-readme.js -->\n\n- **browser_tab_list**\n  - Title: List tabs\n  - Description: List browser tabs\n  - Parameters: None\n  - Read-only: **true**\n\n<!-- NOTE: This has been generated via update-readme.js -->\n\n- **browser_tab_new**\n  - Title: Open a new tab\n  - Description: Open a new tab\n  - Parameters:\n    - `url` (string, optional): The URL to navigate to in the new tab. If not provided, the new tab will be blank.\n  - Read-only: **true**\n\n<!-- NOTE: This has been generated via update-readme.js -->\n\n- **browser_tab_select**\n  - Title: Select a tab\n  - Description: Select a tab by index\n  - Parameters:\n    - `index` (number): The index of the tab to select\n  - Read-only: **true**\n\n</details>\n\n<details>\n<summary><b>Browser installation</b></summary>\n\n<!-- NOTE: This has been generated via update-readme.js -->\n\n- **browser_install**\n  - Title: Install the browser specified in the config\n  - Description: Install the browser specified in the config. Call this if you get an error about the browser not being installed.\n  - Parameters: None\n  - Read-only: **false**\n\n</details>\n\n<details>\n<summary><b>Coordinate-based (opt-in via --caps=vision)</b></summary>\n\n<!-- NOTE: This has been generated via update-readme.js -->\n\n- **browser_mouse_click_xy**\n  - Title: Click\n  - Description: Click left mouse button at a given position\n  - Parameters:\n    - `element` (string): Human-readable element description used to obtain permission to interact with the element\n    - `x` (number): X coordinate\n    - `y` (number): Y coordinate\n  - Read-only: **false**\n\n<!-- NOTE: This has been generated via update-readme.js -->\n\n- **browser_mouse_drag_xy**\n  - Title: Drag mouse\n  - Description: Drag left mouse button to a given position\n  - Parameters:\n    - `element` (string): Human-readable element description used to obtain permission to interact with the element\n    - `startX` (number): Start X coordinate\n    - `startY` (number): Start Y coordinate\n    - `endX` (number): End X coordinate\n    - `endY` (number): End Y coordinate\n  - Read-only: **false**\n\n<!-- NOTE: This has been generated via update-readme.js -->\n\n- **browser_mouse_move_xy**\n  - Title: Move mouse\n  - Description: Move mouse to a given position\n  - Parameters:\n    - `element` (string): Human-readable element description used to obtain permission to interact with the element\n    - `x` (number): X coordinate\n    - `y` (number): Y coordinate\n  - Read-only: **true**\n\n</details>\n\n<details>\n<summary><b>PDF generation (opt-in via --caps=pdf)</b></summary>\n\n<!-- NOTE: This has been generated via update-readme.js -->\n\n- **browser_pdf_save**\n  - Title: Save as PDF\n  - Description: Save page as PDF\n  - Parameters:\n    - `filename` (string, optional): File name to save the pdf to. Defaults to `page-{timestamp}.pdf` if not specified.\n  - Read-only: **true**\n\n</details>\n\n<!--- End of tools generated section -->\n","readmeFilename":"README.md"}