Quay lại kỹ năng
playwright-mcp
bởi spiceman161
Web & Frontend Development—Chưa có đánh giá
Đánh giá của bạn
Tóm tắt
Browser automation via Playwright MCP server.
Mô tả
Kỹ năng này làm gì
Runs a Playwright MCP server so your agent can control a real browser. It handles navigation, clicking, form filling, text extraction, and JavaScript execution across Chromium, Firefox, and WebKit.
Khi nào nên dùng
- Scraping data from JavaScript-heavy pages that don't have an API
- Filling out web forms and submitting them on behalf of the user
- Checking if a deployed site loads and behaves correctly after changes
- Pulling text or table data from behind-login pages
- Taking screenshots of web pages for reports or monitoring
Quy trình ví dụ
ĐẦU VÀO
User asks: "Log into staging and check if the dashboard loads"
AGENT
- 1
Starts the Playwright MCP server with Chromium
- 2
Navigates to the login page
- 3
Types credentials into the username and password fields
- 4
Clicks the submit button
- 5
Takes a snapshot of the dashboard to verify it loaded
ĐẦU RA
Dashboard loaded with all widgets visible, no errors on page
Cài đặt
clawhub install spiceman161/playwright-mcpChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.