MR
Mayur Rathi
@mayurrathi
⭐ 40.7k GitHub stars

Browser Automation

Browser Automation is an code AI skill with a core value of Browser automation powers web testing, scraping, and AI agent interactions. It helps developers solve real-world problems in the code domain, boosting efficiency, automating repetitive tasks, and optimizing workflows.

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, an...

Last verified on: 2026-07-07

Quick Facts

Category code
Works With Claude
Source sickn33/antigravity-awesome-skills
Stars ⭐ 40.7k
Last Verified 2026-07-07
Risk Level High
mkdir -p ./skills/browser-automation && curl -sfL https://raw.githubusercontent.com/sickn33/antigravity-awesome-skills/main/skills/browser-automation/SKILL.md -o ./skills/browser-automation/SKILL.md

Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).

Skill Content

# 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


| 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: |


Related Skills


Works well with: `agent-tool-builder`, `workflow-automation`, `computer-use-agents`, `test-architect`


When to Use

This skill is applicable to execute the workflow or actions described in the overview.

🎯 Best For

  • QA engineers
  • Developers writing unit tests
  • Claude users
  • Software engineers
  • Development teams

💡 Use Cases

  • Generating test cases for edge conditions
  • Writing integration test suites
  • Code quality improvement
  • Best practice enforcement

📖 How to Use This Skill

  1. 1

    Install the Skill

    Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.

  2. 2

    Load into Your AI Assistant

    Open Claude and reference the skill. Paste the SKILL.md content or use the system prompt tab.

  3. 3

    Apply Browser Automation to Your Work

    Open your project in the AI assistant and ask it to apply the skill. Start with a small module to verify the output quality.

  4. 4

    Review and Refine

    Review AI suggestions before committing. Run tests, check for regressions, and iterate on the skill output.

❓ Frequently Asked Questions

Does this generate test mocks?

Many testing skills include mock generation. Check the install command and skill content for details.

Is Browser Automation compatible with Cursor and VS Code?

Yes — this skill works with any AI coding assistant including Cursor, VS Code with Copilot, and JetBrains IDEs.

Do I need specific dependencies for Browser Automation?

Check the install command and Works With section. Most code skills only require the AI assistant and your codebase.

How do I install Browser Automation?

Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/browser-automation/SKILL.md, ready to use.

Can I customize this skill for my team?

Absolutely. Edit the SKILL.md file to add team-specific instructions, examples, or workflows.

⚠️ Common Mistakes to Avoid

Not testing edge cases

AI tends to generate happy-path tests. Manually review for boundary conditions.

Skipping validation

Always test AI-generated code changes, even for simple refactors.

Missing dependency updates

Check if the skill requires updated dependencies or new packages.

🔗 Related Skills