๐ญ Playwright MCP โ AI Browser Automation
Pricing
from $5.00 / 1,000 tool calls
๐ญ 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
Actor stats
0
Bookmarked
2
Total users
0
Monthly active users
2 days ago
Last modified
Categories
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)
| Tool | Description |
|---|---|
navigate | Go to a URL, wait for page load |
screenshot | Capture page or element as PNG |
click | Click elements by selector or text |
type | Type into input fields |
get_text | Extract visible text from page/element |
get_html | Get HTML content |
evaluate | Run JavaScript in page context |
select | Choose dropdown options |
scroll | Scroll page or elements |
wait | Wait for elements to appear/disappear |
get_links | Extract all links with optional filtering |
extract_table | Parse HTML tables to JSON |
pdf | Generate PDF of current page |
fill_form | Fill multiple form fields at once |
get_cookies | Read browser cookies |
set_cookies | Set 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.
๐ป Code Example โ Python
from apify_client import ApifyClientclient = ApifyClient("YOUR_APIFY_TOKEN")run = client.actor("nexgendata/playwright-mcp-server").call(run_input={# Fill in the input shape from the actor's input_schema})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
๐ Code Example โ cURL
curl -X POST "https://api.apify.com/v2/acts/nexgendata~playwright-mcp-server/run-sync-get-dataset-items?token=YOUR_TOKEN" \-H "Content-Type: application/json" \-d '{ /* input schema */ }'
โ FAQ
Q: How do I get started? Sign up at apify.com, grab your API token from Settings โ Integrations, and run the actor via the Apify console, API, Python SDK, or any integration (Zapier, Make.com, n8n).
Q: What's the typical cost per run? See the pricing section below. Most runs finish under $0.10 for typical batches.
Q: Is this actor maintained? Yes. NexGenData maintains 140+ Apify actors and ships updates regularly. Bug reports via the Apify console issues tab get responses within 24 hours.
Q: Can I use the output commercially? Yes โ you own the output data. Check the target site's Terms of Service for any usage restrictions on the scraped content itself.
Q: How do I handle rate limits? Apify manages concurrency and retries automatically. For very large batches (10K+ items), run multiple smaller jobs in parallel instead of one mega-job for better reliability.
๐ฐ Pricing
Pay-per-event pricing โ you only pay for what you actually extract.
- Actor Start: $0.0050
- tool call: $0.0050
๐ Related NexGenData Actors
๐ Apify Affiliate Program
New to Apify? Sign up with our referral link โ you get free platform credits on signup, and you help fund the maintenance of this actor fleet.
Built and maintained by NexGenData โ 140+ actors covering scraping, enrichment, MCP servers, and automation.

