Standard I/O
Docker
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"-playwright-mcp": {
"args": [
"index.js"
],
"command": "node"
}
}
}This has been generated via update-readme.js -->
(string, optional): Button to click, defaults to left
(string): Exact target element reference from the page snapshot
(string, optional): File name to save the screenshot to. Defaults to `page-{timestamp}.{png|jpeg|webp}` if not specified. Prefer relative file names to stay within the output directory.
(boolean, optional): When true, takes a screenshot of the full scrollable page, instead of the currently visible viewport. Cannot be used with element screenshots.
(string): Exact source element reference from the page snapshot
(string): Human-readable element description
(string, optional): Human-readable target element description used to obtain the permission to interact with the element
(string, optional): The text to wait for to disappear
(array, optional): Modifier keys to press
(boolean, optional): Whether to submit entered text (press Enter after)
(string, optional): The text to wait for
(string, optional): The text of the prompt in case of a prompt dialog.
generated by update-readme.js -->
Verify value
(number): Height of the browser window
(boolean, optional): Whether to perform a double click instead of a single click
(array): Array of values to select in the dropdown. This can be a single value or multiple values.
(number): End Y coordinate
(string): Exact target element reference from the page snapshot
(string, optional): Pause execution at a specific <file>:<line>, e.g. "example.spec.ts:42".
(number): X coordinate
(string, optional): Chapter description
(string): Exact target element reference that points to the element
(number, optional): Tab index, used for close/select. If omitted for close, current tab is closed.
(number): Y coordinate
(string, optional): Additional inline CSS applied to the highlight overlay, e.g. "outline: 2px dashed red".
(string): ACCESSIBLE_NAME of the element. Can be found in the snapshot like this: `- role "{ACCESSIBLE_NAME}"`
(string, optional): Comma-separated list of header names to remove from request
(number): End X coordinate
(number, optional): HTTP status code to return (default: 200)
(string): Exact target element reference from the page snapshot, or a unique element selector
(number, optional): Number of clicks, defaults to 1
(string, optional): Cookie domain
(string, optional): Only return requests whose URL matches this regexp (e.g. "/api/.*user").
(array, optional): Absolute paths to files to drop onto the element.
(string, optional): Cookie path
(string, optional): URL to navigate to in the new tab, used for new.
(boolean, optional): Whether the cookie is HTTP only
(array, optional): Headers to add in "Name: Value" format
(string): Exact target element reference from the page snapshot, or a unique element selector
(number): Y delta
(boolean): Whether to include request body. Defaults to false.
of tools generated section -->
(boolean): Whether to include request headers. Defaults to false.
(boolean, optional): Return all console messages since the beginning of the session, not just since the last navigation. Defaults to false.
(number, optional): Duration in milliseconds to show the chapter card
(string): () => { /* code */ } or (element) => { /* code */ } when element is provided
(string, optional): Return only this part of the request. Omit to return full details.
(object, optional): Data to drop, as a map of MIME type to string value (e.g. {"text/plain": "hello", "text/uri-list": "https://example.com"}).
(number): Start X coordinate
(boolean, optional): Include each element's bounding box as [box=x,y,width,height] in the snapshot. Coordinates are viewport-relative, in CSS pixels (Element.getBoundingClientRect)
(string, optional): Image format for the screenshot. If unset, inferred from the filename extension, otherwise png.
(object, optional): Video size
(boolean, optional): Whether the cookie is secure
(array): Items to verify
(number): Start Y coordinate
(number, optional): Time to wait between mouse down and mouse up in milliseconds, defaults to 0
(string): Value to verify. For checkbox, use "true" or "false".
(number, optional): Cookie expiration as Unix timestamp
(string, optional): Cookie SameSite attribute
(number, optional): Limit the depth of the snapshot tree
(string, optional): Response body (text or JSON string)
(string, optional): Content-Type header (e.g., "application/json", "text/html")
- `type` (string): Type of the element
(string, optional): Regular expression to search for in the page snapshot. Matching is case-sensitive by default; wrap the pattern in slashes to add flags, e.g. "/error/i" for case-insensitive. Provide either text or regex, not both.
(string, optional): Where to place the action title relative to the page. Defaults to top-right.
(string, optional): Cursor decoration for pointer actions. "pointer" (default) animates a mouse pointer from the previous action point to the next one; "none" disables the cursor decoration.
(string): Image resolution scale. "css" produces a screenshot sized in CSS pixels (smaller, consistent across devices). "device" produces a high-resolution screenshot using device pixels (larger, accounts for the device pixel ratio). Default is css.
(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.
Verify element value
Evaluate and compare ML model performance with rigorous testing methodologies
Automated testing agent that executes complete roundtrip workflow tests for MCP elements
Skill for creating comprehensive documentation of GitHub and DollhouseMCP integration workflows
Generate comprehensive test suites including unit tests, integration tests, and E2E tests