MCP-Server-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 using CSS selector

playwright_click_text

Click an element on the page by its text content

playwright_fill

Fill out an input field

playwright_select

Select an element on the page with Select tag using CSS selector

playwright_select_text

Select an element on the page with Select tag by its text content

playwright_hover

Hover an element on the page using CSS selector

playwright_hover_text

Hover an element on the page by its text content

playwright_evaluate

Execute JavaScript in the browser console