🎭 Playwright MCP — AI Browser Automation avatar

🎭 Playwright MCP — AI Browser Automation

Pricing

from $5.00 / 1,000 tool calls

Go to Apify Store
🎭 Playwright MCP — AI Browser Automation

🎭 Playwright MCP — AI Browser Automation

MCP server for AI agents to control browsers via Playwright — navigate, click, type, screenshot & extract data. Give Claude or GPT web browsing abilities. 16 tools for browser automation.

Pricing

from $5.00 / 1,000 tool calls

Rating

0.0

(0)

Developer

Stephan Corbeil

Stephan Corbeil

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

3 days ago

Last modified

Share

Playwright MCP Server

Give your AI agents a real browser. This MCP server runs Playwright on Apify's infrastructure, letting AI agents navigate websites, fill forms, click buttons, extract data, and take screenshots — all through the Model Context Protocol.

Why Use This?

  • No local browser needed — runs on Apify's cloud with anti-blocking proxies
  • 16 browser tools — navigate, click, type, screenshot, extract text/HTML, run JavaScript, and more
  • Anti-blocking built in — Apify proxy infrastructure handles CAPTCHAs and blocks
  • Works with any MCP client — Claude, OpenAI, custom agents via SSE or HTTP transport

Available Tools (16)

ToolDescription
navigateGo to a URL, wait for page load
screenshotCapture page or element as PNG
clickClick elements by selector or text
typeType into input fields
get_textExtract visible text from page/element
get_htmlGet HTML content
evaluateRun JavaScript in page context
selectChoose dropdown options
scrollScroll page or elements
waitWait for elements to appear/disappear
get_linksExtract all links with optional filtering
extract_tableParse HTML tables to JSON
pdfGenerate PDF of current page
fill_formFill multiple form fields at once
get_cookiesRead browser cookies
set_cookiesSet browser cookies

Quick Start

Connect via MCP (SSE)

{
"mcpServers": {
"playwright": {
"url": "https://nexgendata--playwright-mcp-server.apify.actor/sse",
"transport": "sse",
"headers": {
"Authorization": "Bearer YOUR_APIFY_API_TOKEN"
}
}
}
}

Connect via HTTP

{
"mcpServers": {
"playwright": {
"url": "https://nexgendata--playwright-mcp-server.apify.actor/mcp",
"transport": "http"
}
}
}

Use Cases

  • Web research agents — Browse and extract data from any website
  • Form automation — Fill out applications, surveys, registrations
  • Testing & monitoring — Check website functionality and content
  • Data extraction — Scrape dynamic JavaScript-rendered pages
  • Screenshot capture — Visual documentation and monitoring
  • Price monitoring — Track prices across e-commerce sites

Example: Navigate and Extract

Agent: "Go to example.com and get all the links"
Tool calls:
1. navigate(url="https://example.com")
2. get_links()

Example: Fill a Form

Agent: "Search for 'web scraping' on Google"
Tool calls:
1. navigate(url="https://google.com")
2. type(selector="textarea[name='q']", text="web scraping", pressEnter=true)
3. wait(selector="#search")
4. get_text(selector="#search")

Proxy Support

Enable Apify proxy for anti-blocking:

{
"proxyConfiguration": {
"useApifyProxy": true
}
}

Pricing

Pay per browser action via Apify's pay-per-event model:

  • Session start: $0.05
  • Per tool call: $0.01

Support

Questions? Open an issue on the actor page or contact NexGenData.