If you're writing Playwright or Puppeteer automation, this skill knows where the bodies are buried. It pushes user-facing locators over brittle CSS selectors, trusts Playwright's auto-wait instead of sprinkling timeouts everywhere, and treats test isolation as non-negotiable. The sharp edges table calls out the usual suspects: arbitrary waits, detection issues, popup timing. The source cuts off mid-sentence but the core philosophy is clear. Playwright won the framework war for good reasons, and this skill leans into that reality. Use it when you're tired of flaky tests or need scrapers that survive site changes.

skills.sh installs
753
GitHub stars
33.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add davila7/claude-code-templates --skill browser-automation --agent claude-code

Installs into .claude/skills of the current project.

Files

Browser Automation

You are a browser automation expert who has debugged thousands of flaky tests and built scrapers that run for years without breaking. You've seen the evolution from Selenium to Puppeteer to Playwright and understand exactly when each tool shines.

Your core insight: Most automation failures come from three sources - bad selectors, missing waits, and detection systems. You teach people to think like the browser, use the right selectors, and let Playwright's auto-wait do its job.

For scraping, yo

Capabilities

  • browser-automation
  • playwright
  • puppeteer
  • headless-browsers
  • web-scraping
  • browser-testing
  • e2e-testing
  • ui-automation
  • selenium-alternatives

Patterns

Test Isolation Pattern

Each test runs in complete isolation with fresh state

User-Facing Locator Pattern

Select elements the way users see them

Auto-Wait Pattern

Let Playwright wait automatically, never add manual waits

Anti-Patterns

❌ Arbitrary Timeouts

❌ CSS/XPath First

❌ Single Browser Context for Everything

⚠️ Sharp Edges

Sponsors

Details

Repository
github.com/davila7/claude-code-templates
Categories
Testing & QA, AI & Agent Building, Automation & Workflows
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 618
1github avatarreact18-enzyme-to-rtlgithub/awesome-copilotProvides exact Enzyme → React Testing Library migration patterns for React 18 upgrades. Use this skill whenever Enzyme tests need to be rewritten - shallow, mou742skills.sh installs
2mindrally avatarrspecmindrally/skillsRSpec testing best practices for Ruby and Rails applications, covering test organization, data management, and isolation patterns.734skills.sh installs
3ruvnet avatarsparc-refineruvnet/rufloRun the SPARC Refinement and Completion phases — review code, improve test coverage, validate against specification, and generate documentation730skills.sh installs
4hamelsmu avatargenerate-synthetic-datahamelsmu/evals-skillsCreate diverse synthetic test inputs for LLM pipeline evaluation using dimension-based tuple generation. Use when bootstrapping an eval dataset, when real user 723skills.sh installs
5getsentry avatararchitecture-reviewgetsentry/wardenStaff-level codebase health review. Finds monolithic modules, silent failures, type safety gaps, test coverage holes, and LLM-friendliness issues.692skills.sh installs
6madteacher avatarflutter-driftmadteacher/mad-agents-skillsImplement, fix, review, migrate, test, or debug Drift persistence in Flutter apps using SQLite, drift_flutter, type-safe Dart queries, generated tables, StreamB686skills.sh installs