browser-automation

Automate browser tasks for testing, scraping, and agent interactions with Playwright or Puppeteer.

Updated Nov 29, 2025
One-click install
npx skills add https://github.com/thimslugga/agent-skills --skill browser-automation-thimslugga
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: browser-automation
Source: https://github.com/thimslugga/agent-skills/tree/main/skills/browser/browser-automation
Command: npx skills add https://github.com/thimslugga/agent-skills --skill browser-automation-thimslugga

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

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

Core Features & Use Cases

  • Playwright-based automation for reliable browser control, including testing, scraping, and bot-like interactions.
  • Patterns for selectors, waits, anti-detection, and multi-browser support to reduce flakiness.
  • Use Case: Build a scraper that logs into a site, navigates pages, and extracts data with resilient selectors.

Quick Start

Run a browser-automation script using Playwright to open a target page and perform a simple interaction.

Frequently Asked Questions about browser-automation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I stop Playwright and Puppeteer browser automation scripts from being flaky?

Playwright is recommended over Puppeteer for browser automation because it won the framework war and offers multi-browser support. You should choose Puppeteer only if you need its stealth ecosystem or are strictly limited to Chrome-only automation.

How do I build a web scraper that logs into a site and extracts data using Playwright?

Anti-detection techniques for headless browsers involve applying specific patterns to reduce bot identification during web scraping. This skill defines anti-detection patterns to help automate user flows across modern web apps without being blocked.

Can I use Puppeteer instead of Playwright for web scraping and e2e-testing?

You can use Puppeteer for web scraping and e2e-testing, but Playwright is the recommended choice unless you specifically need Puppeteer's stealth ecosystem or Chrome-only support. Playwright provides better multi-browser automation capabilities.

What is the best way to manage waits and selectors for reliable browser automation?

The best way to manage waits and selectors for reliable browser automation is to use established patterns focusing on selector strategies and waits management. This skill defines these patterns to ensure reliable testing, scraping, and agent-driven browser control.