Install any skill in seconds. Free to start, no credit card required.
Get Started Free →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
.claude/skills/davila7-browser-automation/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 7% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 8% | 0% |
| case-02 | ✓→✓ | = Same ✓ | -12% | 0% |
| case-04 | ✓→✓ | = Same ✓ | 18% | 0% |
| case-06 | ✓→✓ | = Same ✓ | 16% | 0% |
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
Each test runs in complete isolation with fresh state
Select elements the way users see them
Let Playwright wait automatically, never add manual waits
| Issue | Severity | Solution | |-------|----------|----------| | Issue | critical | # REMOVE all waitForTimeout calls | | Issue | high | # Use user-facing locators instead: | | Issue | high | # Use stealth plugins: | | Issue | high | # Each test must be fully isolated: | | Issue | medium | # Enable traces for failures: | | Issue | medium | # Set consistent viewport: | | Issue | high | # Add delays between requests: | | Issue | medium | # Wait for popup BEFORE triggering it: |
Works well with: agent-tool-builder, workflow-automation, computer-use-agents, test-architect
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→pass | 15,744 | 14,400 | -9% | 1 | 1 | 0% | 2,939 | 3,150 | +7% | 0 | 0 | — |
case-02 | pass→pass | 10,031 | 7,485 | -25% | 1 | 1 | 0% | 1,972 | 1,738 | -12% | 0 | 0 | — |
case-03 | fail→pass | 15,424 | 12,967 | -16% | 1 | 1 | 0% | 2,664 | 2,870 | +8% | 0 | 0 | — |
case-04 | pass→pass | 8,156 | 7,530 | -8% | 1 | 1 | 0% | 1,457 | 1,718 | +18% | 0 | 0 | — |
case-05 | fail→fail | 16,618 | 19,690 | +18% | 1 | 1 | 0% | 2,045 | 3,129 | +53% | 0 | 0 | — |
case-06 | pass→pass | 12,067 | 11,398 | -6% | 1 | 1 | 0% | 2,123 | 2,456 | +16% | 0 | 0 | — |
case-07 | pass→pass | 10,461 | 5,527 | -47% | 1 | 1 | 0% | 2,055 | 1,333 | -35% | 0 | 0 | — |
case-08 | pass→pass | 15,537 | 14,194 | -9% | 1 | 1 | 0% | 2,571 | 2,852 | +11% | 0 | 0 | — |
case-09 | pass→pass | 13,540 | 7,509 | -45% | 1 | 1 | 0% | 2,437 | 1,684 | -31% | 0 | 0 | — |
case-10 | pass→pass | 6,670 | 7,154 | +7% | 1 | 1 | 0% | 1,219 | 1,624 | +33% | 0 | 0 | — |
case-11 | pass→pass | 14,600 | 16,947 | +16% | 1 | 1 | 0% | 2,519 | 3,378 | +34% | 0 | 0 | — |
case-12 | pass→pass | 17,059 | 16,237 | -5% | 1 | 1 | 0% | 3,472 | 3,637 | +5% | 0 | 0 | — |
case-13 | pass→pass | 6,199 | 4,966 | -20% | 1 | 1 | 0% | 1,121 | 1,113 | -1% | 0 | 0 | — |
case-14 | pass→pass | 7,062 | 6,745 | -4% | 1 | 1 | 0% | 1,147 | 1,669 | +46% | 0 | 0 | — |
case-15 | pass→pass | 6,787 | 4,987 | -27% | 1 | 1 | 0% | 1,218 | 1,197 | -2% | 0 | 0 | — |
case-16 | pass→pass | 9,056 | 6,200 | -32% | 1 | 1 | 0% | 1,809 | 1,487 | -18% | 0 | 0 | — |
case-17 | pass→pass | 8,571 | 7,150 | -17% | 1 | 1 | 0% | 1,428 | 1,772 | +24% | 0 | 0 | — |
case-18 | pass→pass | 11,458 | 7,496 | -35% | 1 | 1 | 0% | 2,061 | 1,672 | -19% | 0 | 0 | — |
case-19 | pass→pass | 14,836 | 12,187 | -18% | 1 | 1 | 0% | 2,681 | 2,479 | -8% | 0 | 0 | — |
case-20 | pass→pass | 6,173 | 7,930 | +28% | 1 | 1 | 0% | 1,240 | 1,858 | +50% | 0 | 0 | — |
case-21 | pass→pass | 15,598 | 14,735 | -6% | 1 | 1 | 0% | 3,092 | 3,812 | +23% | 0 | 0 | — |
case-22 | pass→pass | 5,142 | 5,003 | -3% | 1 | 1 | 0% | 946 | 1,367 | +45% | 0 | 0 | — |
case-23 | pass→pass | 4,101 | 6,437 | +57% | 1 | 1 | 0% | 805 | 1,664 | +107% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 23 cases were attempted. The headline lift of +9 percentage points is the difference between those two pass rates over the 23 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.