playwright-mcp-server-hellork
v0.2.1MCP server for Playwright browser automation
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
click
Click on an element by selector
| Parameter | Type | Description |
|---|---|---|
selector * | string | CSS selector of element to click |
page_id | string | Page ID (optional) |
type
Type text into an input element
| Parameter | Type | Description |
|---|---|---|
selector * | string | CSS selector of input element |
text * | string | Text to type |
page_id | string | Page ID (optional) |
get_text
Get text content from an element
| Parameter | Type | Description |
|---|---|---|
selector * | string | CSS selector of element |
page_id | string | Page ID (optional) |
get_page_content
Get the current page HTML content
| Parameter | Type | Description |
|---|---|---|
page_id | string | Page ID (optional) |
take_screenshot
Take a screenshot of the current page or element
| Parameter | Type | Description |
|---|---|---|
full_page | boolean | Take full page screenshot |
page_id | string | Page ID (optional) |
selector | string | CSS selector for element screenshot (optional) |
new_page
Create a new browser page
| Parameter | Type | Description |
|---|---|---|
page_id * | string | Unique ID for the new page |
switch_page
Switch to a different browser page
| Parameter | Type | Description |
|---|---|---|
page_id * | string | Page ID to switch to |
get_pages
List all available browser pages
wait_for_selector
Wait for an element to be visible on the page
| Parameter | Type | Description |
|---|---|---|
selector * | string | CSS selector to wait for |
page_id | string | Page ID (optional) |
state | string | |
timeout | number | Timeout in milliseconds |
evaluate
Evaluate JavaScript in the page context
| Parameter | Type | Description |
|---|---|---|
script * | string | JavaScript code to evaluate |
page_id | string | Page ID (optional) |
get_title
Get the page title
| Parameter | Type | Description |
|---|---|---|
page_id | string | Page ID (optional) |
get_url
Get the current page URL
| Parameter | Type | Description |
|---|---|---|
page_id | string | Page ID (optional) |
go_back
Navigate back in history
| Parameter | Type | Description |
|---|---|---|
page_id | string | Page ID (optional) |
go_forward
Navigate forward in history
| Parameter | Type | Description |
|---|---|---|
page_id | string | Page ID (optional) |
reload
Reload the current page
| Parameter | Type | Description |
|---|---|---|
page_id | string | Page ID (optional) |