browser-automation

Teach robust Playwright and Puppeteer patterns for reliable browser automation.

1|Updated Dec 15, 2025
One-click install
npx skills add https://github.com/jokken79/YuKyuDATA-app1.0v --skill browser-automation-jokken79
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: browser-automation
Source: https://github.com/jokken79/YuKyuDATA-app1.0v/tree/main/.agent/skills/browser-automation
Command: npx skills add https://github.com/jokken79/YuKyuDATA-app1.0v --skill browser-automation-jokken79

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Browser automation often suffers from flaky interactions due to weak selectors, missing waits, and anti-detection gaps; this skill provides proven patterns to stabilize testing, scraping, and agent-driven browser control.

Core Features & Use Cases

  • Playwright-based automation with recommended practices for selectors, waits, and anti-detection strategies.
  • Supports Puppeteer where needed and covers web testing, data extraction, and agent-driven browser control.
  • Use cases include end-to-end tests, robust scraping on dynamic pages, and browser automation for AI agents interacting with web apps.

Quick Start

Create a Playwright script that navigates to a page, waits for a selector, and asserts the expected text.

Frequently Asked Questions about browser-automation

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

FAQPage Schema
How do I fix flaky Playwright tests caused by missing waits and weak selectors?

Fix flaky Playwright tests by applying auto-wait mechanisms and user-facing selectors. This ensures scripts interact with elements only after they are ready, stabilizing interactions on dynamic websites without manual sleep delays.

What is the best way to scrape dynamic web pages using browser automation?

Scraping dynamic web pages requires robust browser automation patterns that handle asynchronous loading. Using Playwright with anti-detection strategies and auto-waiting reliably extracts data from modern, JavaScript-heavy sites without triggering bot blocks.

Can I use Puppeteer instead of Playwright for web testing and agent control?

Yes, Puppeteer is supported for web testing and AI-agent browser control. While Playwright is the default framework for its modern architecture, Puppeteer patterns are provided when your specific testing or scraping environment requires it.

How do I prevent my web scraping scripts from being detected and blocked?

Prevent web scraping detection by applying anti-detection strategies within your browser automation scripts. Utilizing Playwright patterns that mimic human interaction and user-facing selectors helps bypass bot protection on dynamic websites.

Does browser automation work for controlling web apps through AI agents?

Browser automation supports AI-agent browser control by providing reliable web interaction patterns. Teaching Playwright frameworks to use auto-wait and robust selectors allows agents to navigate and interact with web apps predictably.

Why do my Puppeteer scripts fail to find elements on dynamic websites?

Puppeteer scripts fail on dynamic websites when using weak selectors and missing waits. Stabilize your automation by applying robust patterns that auto-wait for elements to render before interacting, preventing premature execution errors.