browser-automation

Design stable selectors, waits, and interaction workflows for Playwright and Puppeteer.

Updated Jun 17, 2026
One-click install
npx skills add https://github.com/JingyueCong/LatentRiskBench --skill browser-automation-jingyuecong
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: browser-automation
Source: https://github.com/JingyueCong/LatentRiskBench/tree/main/latentriskbench/agent/skills/browser-automation
Command: npx skills add https://github.com/JingyueCong/LatentRiskBench --skill browser-automation-jingyuecong

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps users create reliable browser automation workflows by reducing flaky tests, fragile scraping scripts, and unstable UI interactions caused by poor selectors, missing waits, and inconsistent browser handling.

Core Features & Use Cases

  • Browser Testing Automation: Design robust end-to-end browser tests using modern automation approaches and user-focused selectors.
  • Web Scraping & UI Automation: Build maintainable scraping and interaction workflows with proper waiting strategies and browser lifecycle management.
  • Automation Reliability Patterns: Apply isolation, auto-waiting, failure tracing, and anti-flakiness practices for tools such as Playwright and Puppeteer.

Quick Start

Use the browser-automation skill to help me create a reliable Playwright workflow for testing this website.

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 and Puppeteer tests caused by missing waits?

Fix flaky Playwright and Puppeteer tests by implementing auto-waiting strategies and user-focused selectors. This ensures stable end-to-end testing by preventing inconsistent browser interactions and missing element errors before execution.

What is the best way to build reliable web scraping workflows with browser automation?

Build reliable web scraping workflows by applying proper browser lifecycle management and stable interaction patterns. This creates maintainable scraping scripts that resist UI changes and prevent fragile data extraction failures.

Does this approach support UI automation isolation for end-to-end testing?

Yes, this approach supports UI automation isolation for end-to-end testing. It applies specific automation patterns to prevent state interference, ensuring your browser workflows remain stable during parallel execution.

How to design stable selectors for browser automation workflows?

Design stable selectors for browser automation by prioritizing user-focused attributes over generated CSS paths. This reduces selector fragility and maintains reliable browser control when underlying web page structures change.

Why does my browser automation script fail during inconsistent browser handling?

Browser automation scripts fail during inconsistent browser handling due to poor lifecycle management and missing error prevention. Apply robust isolation patterns and failure tracing to stabilize UI interactions and prevent crashes.

Can I use these browser automation patterns for AI agent web interactions?

Yes, you can use these browser automation patterns for AI agent web interactions. They provide the robust browser control and reliable interaction workflows necessary for autonomous agents to navigate and extract data effectively.