playwright-mcp-1-0-0
由 itsjustfred 提供
Web & Frontend Development简介
Browser automation via Playwright MCP server.
描述
该技能的功能
Browser automation via the Playwright MCP server. Controls Chrome, Firefox, or WebKit to navigate pages, fill forms, click elements, extract data, and capture screenshots. Works headless or headed across Linux, macOS, and Windows.
Exposes Playwright's full browser control through MCP tools, so agents can automate any browser interaction without custom scripts or extra code.
何时使用
- Scraping product prices from e-commerce pages
- Automating login and form submission workflows
- Extracting table data from web dashboards
- Taking screenshots of pages for visual checks
- Testing UI flows without writing test scripts manually
示例工作流
User asks: extract all rows from the data table at https://example.com/data
- 1
Call browser_navigate with the target URL
- 2
Call browser_evaluate with a script that queries all table rows and returns their text content
- 3
Parse the returned JSON array
- 4
Return the extracted rows to the user
Array of table row strings from the page
安装
clawhub install itsjustfred/playwright-mcp-1-0-0运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。