playwright-mcp-server-hellork

v0.2.1
playwright-mcp-server-hellork Checked 4 days ago Published 17 days ago

MCP server for Playwright browser automation

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

navigate

Navigate to a URL

ParameterTypeDescription
url *stringURL to navigate to
page_idstringPage ID (optional)

click

Click on an element by selector

ParameterTypeDescription
selector *stringCSS selector of element to click
page_idstringPage ID (optional)

type

Type text into an input element

ParameterTypeDescription
selector *stringCSS selector of input element
text *stringText to type
page_idstringPage ID (optional)

get_text

Get text content from an element

ParameterTypeDescription
selector *stringCSS selector of element
page_idstringPage ID (optional)

get_page_content

Get the current page HTML content

ParameterTypeDescription
page_idstringPage ID (optional)

take_screenshot

Take a screenshot of the current page or element

ParameterTypeDescription
full_pagebooleanTake full page screenshot
page_idstringPage ID (optional)
selectorstringCSS selector for element screenshot (optional)

new_page

Create a new browser page

ParameterTypeDescription
page_id *stringUnique ID for the new page

switch_page

Switch to a different browser page

ParameterTypeDescription
page_id *stringPage ID to switch to

get_pages

List all available browser pages

wait_for_selector

Wait for an element to be visible on the page

ParameterTypeDescription
selector *stringCSS selector to wait for
page_idstringPage ID (optional)
statestring
timeoutnumberTimeout in milliseconds

evaluate

Evaluate JavaScript in the page context

ParameterTypeDescription
script *stringJavaScript code to evaluate
page_idstringPage ID (optional)

get_title

Get the page title

ParameterTypeDescription
page_idstringPage ID (optional)

get_url

Get the current page URL

ParameterTypeDescription
page_idstringPage ID (optional)

go_back

Navigate back in history

ParameterTypeDescription
page_idstringPage ID (optional)

go_forward

Navigate forward in history

ParameterTypeDescription
page_idstringPage ID (optional)

reload

Reload the current page

ParameterTypeDescription
page_idstringPage ID (optional)