Playwright MCP
JSON →Browser automation using Playwright, enabling LLMs to interact with web pages through structured accessibility snapshots.
Install
npx @hyhfish/mcp-hyh@latest Tools · 23
- browser_navigate Navigate to a URL
- browser_click Click an element on the page
- browser_fill Fill a form field
- browser_select Select an option from a dropdown
- browser_hover Hover over an element
- browser_evaluate Execute JavaScript in the browser
- browser_get_text Get text content from the page
- browser_get_html Get HTML content from the page
- browser_get_aria_snapshot Get accessibility tree snapshot
- browser_take_screenshot Take a screenshot of the page
- browser_close Close the browser
- browser_new_tab Open a new tab
- browser_switch_tab Switch to a specific tab
- browser_list_tabs List all open tabs
- browser_close_tab Close a specific tab
- browser_pdf Generate PDF of the current page
- browser_go_back Go back in browser history
- browser_go_forward Go forward in browser history
- browser_wait Wait for a specified amount of time
- browser_wait_for_selector Wait for an element to appear
- browser_upload_file Upload a file to a file input
- browser_download_file Download a file from the page
- browser_install Install Playwright browsers