mcpbeat

Browser Automation

dokhacgiakhoa/browser-automation

Browser automation powers web testing, scraping, and AI agent interactions. The difference between a flaky script and a reliable system comes down to understanding selectors, waiting strategies, and anti-detection patterns. This skill covers Playwright (recommended) and Puppeteer, with patterns for testing, scraping, and agentic browser control. Key insight: Playwright won the framework war. Unless you need Puppeteer's stealth ecosystem or are Chrome-only, Playwright is the better choice in 202

696 tokens
context cost
the whole folder, loaded on every use
7
files
instructions only
0
copies elsewhere
how many repositories repackaged it
505
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI --skill browser-automation

What comes with it

964 bytes besides the instruction
sub-skills/arbitrary-timeouts.md
sub-skills/auto-wait-pattern.md
sub-skills/cssxpath-first.md
sub-skills/single-browser-context-for-everything.md
sub-skills/test-isolation-pattern.md
sub-skills/user-facing-locator-pattern.md

The instruction itself

10 sections, as written by the author

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

🧠 Knowledge Modules (Fractal Skills)

1. Test Isolation Pattern

2. User-Facing Locator Pattern

3. Auto-Wait Pattern

4. ❌ Arbitrary Timeouts

5. ❌ CSS/XPath First

6. ❌ Single Browser Context for Everything

How to use it

Copy the folder

Take dokhacgiakhoa/browser-automation from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.