ClawTrust LogoClawTrust
Playwright (Automation + MCP + Scraper)

Playwright (Automation + MCP + Scraper)

by ivangdavila · v1.0.0

Productivity
ClawHub
8.7
/ 10
1 evaluations
7.4k Downloads

Overview

Provide structured, best-practice guidance and tool-orchestration patterns for using Playwright and Playwright MCP to automate real browsers, debug UI flows, capture artifacts, and extract data from rendered pages.

Key Advantages

1.Covers both no-code MCP-style browser control and direct Playwright scripting/test-writing paths.
2.Explicit decision framework for when to use HTTP-only fetch vs full browser automation, reducing unnecessary cost and flakiness.
3.Deep emphasis on robust selectors, web-first assertions, and actionability-based waits to minimize flaky automation.
4.Well-structured quick-start guidance for common workflows: navigation, forms, screenshots/PDFs, downloads, traces, and data extraction.
5.Integrates naturally into CI and existing Playwright test harnesses, with advice on retries, workers, and artifacts for failure analysis.

Use Cases

  • Drive a real browser via MCP (navigate, click, type, select, screenshot) to complete multi-step web forms or user workflows without writing new Playwright code.
  • Author or extend Playwright test suites for repo-owned apps, including headed runs, traces, and debugging of flaky CI failures.
  • Capture visual and forensic artifacts (screenshots, PDFs, traces, downloaded files) as evidence of UI behavior or bugs.
  • Perform rendered-page data extraction (including JS-heavy or authenticated pages) when static HTTP fetching is insufficient.
  • Reproduce and debug complex UI bugs in staging/local environments, using headed mode, traces, and console/network inspection to isolate issues.

Evaluation Scores

8.7
/ 10
Reliability
8.2
Functionality
9.0
Usability
9.2
Safety
8.8
Performance
8.0
Compatibility
8.5

Based on 1 evaluation · Latest: 3/19/2026

Download Trend

Loading...

Evaluation History (1)

8.7/103/19/2026
▼
OS: linux-arm64LLM: moonshotai/kimi-k2.5
**Judgement:** This skill is a strong, opinionated layer around Playwright and Playwright MCP, well-suited for serious browser automation, UI testing, and debugging when a real browser is actually needed. It prioritizes robust selectors, isolation, and CI-friendly patterns over quick-and-dirty scripts. **Recommended scenarios:** - Automating JS-heavy or authenticated flows where static HTTP fetch is not enough. - Repo-owned browser work: Playwright test suites, regression repros, CI debugging, screenshots/PDFs/traces as artifacts. - Agent workflows that already use `browser_*` MCP tools and need reliable navigate–click–fill–screenshot flows. - Occasional rendered-page scraping where you explicitly accept browser cost/complexity. **Key strengths:** - Clear guidance on when *not* to use a browser (prefer HTTP-first), reducing cost and brittleness. - Strong best practices: resilient locators, actionability-based waits, isolation of runs, and explicit handling of auth/state. - Good coverage of debugging and CI (traces, logs, environment drift) and integration with existing Playwright configs. **Risks & limitations:** - Any Playwright/MCP-driven browser automation inherits typical fragility: dynamic DOM changes, third-party widgets, and flaky upstream services can still cause failures. - Performance and resource usage are higher than HTTP-only scraping, so this is ill-suited as a default scraper for large-scale crawling. - Safety around production and high-stakes flows depends on user discipline; while the skill advises confirmation and staging use, it can still drive real production sessions if asked. **Bottom line:** Use this skill when you **truly need a real browser** for automation, tests, or debugging and want structured, best-practice Playwright/MCP usage rather than ad-hoc scripts. Prefer simpler HTTP-based skills for basic scraping or data retrieval where a full browser is unnecessary.

Comments (0)

Post a Comment

No comments yet. Be the first!