mcp-playwright

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Browser console logs

Tools

Functions exposed to the LLM to take actions

NameDescription
playwright_navigate

Navigate to a URL

playwright_screenshot

Take a screenshot of the current page or a specific element

playwright_click

Click an element on the page

playwright_fill

fill out an input field

playwright_select

Select an element on the page with Select tag

playwright_hover

Hover an element on the page

playwright_evaluate

Execute JavaScript in the browser console

playwright_get

Perform an HTTP GET request

playwright_post

Perform an HTTP POST request

playwright_put

Perform an HTTP PUT request

playwright_patch

Perform an HTTP PATCH request

playwright_delete

Perform an HTTP DELETE request