Skip to main content
Glama
nzjami

Playwright MCP

by nzjami

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
browser_closeA

Close the page

browser_resizeB

Resize the browser window

browser_console_messagesC

Returns all console messages

browser_handle_dialogC

Handle a dialog

browser_evaluateA

Evaluate JavaScript expression on page or element

browser_file_uploadB

Upload one or multiple files

browser_fill_formB

Fill multiple form fields

browser_installA

Install the browser specified in the config. Call this if you get an error about the browser not being installed.

browser_press_keyB

Press a key on the keyboard

browser_typeB

Type text into editable element

browser_navigateB

Navigate to a URL

browser_navigate_backB

Go back to the previous page

browser_network_requestsB

Returns all network requests since loading the page

browser_run_codeA

Run Playwright code snippet

browser_take_screenshotA

Take a screenshot of the current page. You can't perform actions based on the screenshot, use browser_snapshot for actions.

browser_snapshotA

Capture accessibility snapshot of the current page, this is better than screenshot

browser_clickB

Perform click on a web page

browser_dragB

Perform drag and drop between two elements

browser_hoverA

Hover over element on page

browser_select_optionB

Select an option in a dropdown

browser_tabsB

List, create, close, or select a browser tab.

browser_wait_forB

Wait for text to appear or disappear or a specified time to pass

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nzjami/mcpPlaywright'

If you have feedback or need assistance with the MCP directory API, please join our Discord server