ExecuteAutomation Playwright MCP

ExecuteAutomation Playwright MCP

Playwright Model Context Protocol Server - Tool to automate Browsers and APIs in Claude Desktop, Cline, Cursor IDE and More 🔌.

264

0

32 Tools

Signed
Built by Docker
Add to Docker Desktop

Version 4.43 or later needs to be installed to add the server automatically

Tools

NameDescription
clear_codegen_sessionClear a code generation session without generating a test
end_codegen_sessionEnd a code generation session and generate the test file
get_codegen_sessionGet information about a code generation session
playwright_assert_responseWait for and validate a previously initiated HTTP response wait operation.
playwright_clickClick an element on the page
playwright_click_and_switch_tabClick a link and switch to the newly opened tab
playwright_closeClose the browser and release all resources
playwright_console_logsRetrieve console logs from the browser with filtering options
playwright_custom_user_agentSet a custom User Agent for the browser
playwright_deletePerform an HTTP DELETE request
playwright_dragDrag an element to a target location
playwright_evaluateExecute JavaScript in the browser console
playwright_expect_responseAsk Playwright to start waiting for a HTTP response. This tool initiates the wait operation but does not wait for its completion.
playwright_fillfill out an input field
playwright_getPerform an HTTP GET request
playwright_get_visible_htmlGet the HTML content of the current page. By default, all <script> tags are removed from the output unless removeScripts is explicitly set to false.
playwright_get_visible_textGet the visible text content of the current page
playwright_go_backNavigate back in browser history
playwright_go_forwardNavigate forward in browser history
playwright_hoverHover an element on the page
playwright_iframe_clickClick an element in an iframe on the page
playwright_iframe_fillFill an element in an iframe on the page
playwright_navigateNavigate to a URL
playwright_patchPerform an HTTP PATCH request
playwright_postPerform an HTTP POST request
playwright_press_keyPress a keyboard key
playwright_putPerform an HTTP PUT request
playwright_save_as_pdfSave the current page as a PDF file
playwright_screenshotTake a screenshot of the current page or a specific element
playwright_selectSelect an element on the page with Select tag
playwright_upload_fileUpload a file to an input[type='file'] element on the page
start_codegen_sessionStart a new code generation session to record Playwright actions

Manual installation

You can install the MCP server using:

Installation for

Related servers