Playwright MCP
JSON →Control a browser for automation and web scraping tasks using Playwright.
Install
npx @modelcontextprotocol/inspector Tools · 10
- navigate Go to a specific URL
- new_page Create a new browser page with a specific ID
- switch_page Switch to a different browser page
- get_pages List all available browser pages
- click Click on an element using CSS selector
- type Type text into an input element
- wait_for_selector Wait for an element to appear on the page
- get_text Get text content from an element
- get_page_content Get the entire page HTML
- take_screenshot Capture visual state of the page or element
Environment variables
UV_PUBLISH_TOKEN
Links
★ 1 GitHub stars