Playwright MCP server
Standard I/O
Docker
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"playwright-mcp-internal": {
"args": [
"index.js"
],
"command": "node"
}
}
}(string, optional): Response body (text or JSON string)
(string, optional): The text of the prompt in case of a prompt dialog.
(number, optional): HTTP status code to return (default: 200)
generated by update-readme.js -->
(string, optional): CSS or role selector for the target element, when "ref" is not available
(string): Exact target element reference from the page snapshot
(boolean, optional): Whether to submit entered text (press Enter after)
(number): Y delta
(array, optional): Modifier keys to press
(string, optional): Chapter description
(number): Start X coordinate
(number, optional): Number of clicks, defaults to 1
(number, optional): Time to wait between mouse down and mouse up in milliseconds, defaults to 0
(boolean, optional): Return all console messages since the beginning of the session, not just since the last navigation. Defaults to false.
(string, optional): Cookie domain
(string): Exact source element reference from the page snapshot
(string, optional): Content-Type header (e.g., "application/json", "text/html")
(string): Exact target element reference from the page snapshot
(string, optional): Comma-separated list of header names to remove from request
(boolean, optional): Whether the cookie is HTTP only
(string, optional): Human-readable target element description used to obtain the permission to interact with the element
(string, optional): Cookie SameSite attribute
(string): Image format for the screenshot. Default is png.
(object, optional): Video size
This has been generated via update-readme.js -->
(boolean): Whether to include request headers. Defaults to false.
(string): Exact target element reference from the page snapshot
(string): Exact target element reference from the page snapshot, or a unique element selector
(number, optional): Duration in milliseconds to show the chapter card
(string): Exact target element reference from the page snapshot, or a unique element selector
(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.
(number, optional): Tab index, used for close/select. If omitted for close, current tab is closed.
(number): X coordinate
(array, optional): Headers to add in "Name: Value" format
(string, optional): Only return requests whose URL matches this regexp (e.g. "/api/.*user").
(string): ACCESSIBLE_NAME of the element. Can be found in the snapshot like this: `- role "{ACCESSIBLE_NAME}"`
(string, optional): CSS or role selector for the source element, when ref is not available
(number): Height of the browser window
(string, optional): CSS or role selector for the target element, when ref is not available
(string, optional): Additional inline CSS applied to the highlight overlay, e.g. "outline: 2px dashed red".
Verify value
(string): Human-readable element description
(string, optional): Pause execution at a specific <file>:<line>, e.g. "example.spec.ts:42".
of tools generated section -->
(boolean, optional): Whether the cookie is secure
(boolean, optional): When true, takes a screenshot of the full scrollable page, instead of the currently visible viewport. Cannot be used with element screenshots.
(array): Array of values to select in the dropdown. This can be a single value or multiple values.
(string, optional): Cookie path
Verify element value
- `type` (string): Type of the element
(string): Value to verify. For checkbox, use "true" or "false".
(boolean, optional): Whether to perform a double click instead of a single click
(boolean): Whether to include request body. Defaults to false.
(string, optional): The text to wait for
(string, optional): The text to wait for to disappear
(number, optional): Cookie expiration as Unix timestamp
(number, optional): Limit the depth of the snapshot tree
(string, optional): URL to navigate to in the new tab, used for new.
(string, optional): File name to save the screenshot to. Defaults to `page-{timestamp}.{png|jpeg}` if not specified. Prefer relative file names to stay within the output directory.
(string, optional): Button to click, defaults to left
(array): Items to verify
(number): Start Y coordinate
(number): End X coordinate
(number): End Y coordinate
(string): () => { /* code */ } or (element) => { /* code */ } when element is provided
(number): Y coordinate
Evaluate and compare ML model performance with rigorous testing methodologies
Comprehensive test creation skill for TypeScript/Jest projects with focus on MCP server testing patterns
Skill for creating comprehensive documentation of GitHub and DollhouseMCP integration workflows
Generate comprehensive test suites including unit tests, integration tests, and E2E tests