Browser Automation

SkillWeb & browsing

This browser automation skill gives an AI agent expert guidance for writing reliable browser automation with Playwright and Puppeteer. It covers selectors, waiting strategies, and anti-detection patterns for testing, scraping, and agentic browser control. The skill teaches patterns such as test isolation, user-facing locators, and auto-waiting, and flags anti-patterns like arbitrary timeouts.

Use Browser Automation in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add Browser Automation and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the Browser Automation skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Have an AI agent that can load skills or instruction files.

Browser AutomationStart free

What your AI can do with it

  • Guides Playwright and Puppeteer automation code
  • Teaches user-facing locators instead of CSS or XPath first
  • Explains auto-waiting and avoiding arbitrary timeouts
  • Covers test isolation with fresh state per test
  • Describes anti-detection patterns for scraping
  • Flags anti-patterns such as single browser context reuse

Getting started

  1. Have an AI agent that can load skills or instruction files.
  2. Add the browser-automation skill to the agent's available skills.
  3. Install Playwright or Puppeteer in the project the agent will work on.
  4. Ask the agent to write or review browser automation using the skill's patterns.

What this skill tells your AI

The instructions your AI receives, as published by davila7/claude-code-templates in cli-tool/components/skills/utilities/browser-automation/SKILL.md and read by ahel’s review.

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

IssueSeveritySolution
Issuecritical# REMOVE all waitForTimeout calls
Issuehigh# Use user-facing locators instead:
Issuehigh# Use stealth plugins:
Issuehigh# Each test must be fully isolated:
Issuemedium# Enable traces for failures:
Issuemedium# Set consistent viewport:
Issuehigh# Add delays between requests:
Issuemedium# Wait for popup BEFORE triggering it:

Related Skills

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

Signals

GitHub stars
32k
Forks
4k
Last commit
Oct 2026

Questions

Does it support Playwright and Puppeteer?
Yes. The skill covers Playwright, which it recommends, and Puppeteer, including Puppeteer's stealth ecosystem and Chrome-only cases.
What does it say about waiting strategies?
It teaches letting Playwright auto-wait instead of adding manual waits, and lists arbitrary timeouts as an anti-pattern to remove.
What selectors does it recommend?
It recommends user-facing locators, selecting elements the way users see them, and flags CSS or XPath first as an anti-pattern.
Can it help with web scraping?
Yes. It includes anti-detection patterns for scraping, such as stealth plugins and delays between requests.
Advanced
Item type
skill
Key
browser-automation-davila7
Source
github.com/davila7/claude-code-templates