Skip to content
Back to skills

Browser Automation

ASecurity

Canonical browser automation and web UI verification: deterministic accessibility-based interaction, Playwright, browser agents, screenshots, and CDP-based tooling in one playbook.

  • 2 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 19, 2026
ai-agentsjavascriptjavashellgit

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add rogue-dev-studio/ai-agents-rogue --skill browser-automation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Browser Automation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Browser Automation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rogue-dev-studio-browser-automation/badge)](https://www.skillsdirectory.com/skills/rogue-dev-studio-browser-automation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: browser-automation
description: >-
  Canonical browser automation and web UI verification: deterministic
  accessibility-based interaction, Playwright, browser agents, screenshots,
  and CDP-based tooling in one playbook.
---

# Browser Automation (Canonical)

Aliases: `playwright`, `agent-browser`, `browser-use`, `playwright-skill`.

## When to use

- E2E / smoke UI, regresi alur kritis
- Agent perlu klik/isi form / snapshot halaman
- Debug front-end di browser nyata
- Mengambil halaman yang diizinkan dan membutuhkan JavaScript rendering atau screenshot

For bulk collection, URL discovery, or structured extraction across many pages, use `web-data-acquisition` instead.

## Tool map

| Situasi | Pilih |
|---------|--------|
| Tes otomatis di repo (default) | Playwright (project runner) |
| Agent explorasi cepat | `agent-browser` / snapshot CLI |
| MCP / CDP remote | `mcp/chrome-devtools` atau `mcp/playwright` (`install-mcp.ps1`) |
| Suite QA web app | Playwright project + matrix P0 |

Wire MCP:

```powershell
.\ai-agents-rogue\scripts\install-mcp.ps1 -Target . -Mcp playwright,chrome-devtools
```

## Procedure

### 1. Scope

- Daftar user journey P0 (max 5 dulu)
- Data uji fiktif (jangan PII nyata)
- Environment: local/staging URL dari project
- For page collection, record permitted domains, purpose, fields, request limits, and output destination; follow `rules/web-data-acquisition.md`.
- Use only public/authorized pages or an explicitly approved user-owned session.
- Stop at CAPTCHA, authentication barriers, paywalls, rate limits, or anti-bot denials; do not evade them.

### 2. Stabilize selectors

- Prefer role/label/test-id, hindari CSS rapuh
- Tunggu network/DOM idle sebelum assert

### 3. Author tests / scripts

- Satu file per journey atau describe block jelas
- Screenshot on failure
- Tidak sleep tetap kecuali terpaksa + komen alasan

### 4. Run & triage

- Jalankan subset P0 dulu
- Fail → klasifikasi: product bug vs flaky vs env
- Flaky: quarantine + issue, jangan diabaikan diam-diam

### 5. Report

Tulis ke `project/{id}/docs/qa/`:

- Matrix journey × hasil
- Artifact path (trace/video jika ada)
- Gap coverage

## DoD

- [ ] P0 journeys punya otomasi atau manual steps eksplisit
- [ ] Hasil run tercatat
- [ ] Tidak ada secret di script
## Attribution

<!-- ATTRIBUTION: Rogue Development | https://github.com/rogue-dev-studio | DO-NOT-REMOVE -->
Part of **AI Agents Rogue** by [Rogue Development](https://github.com/rogue-dev-studio) (`@rogue-dev-studio`).
Do not remove, hide, rename, or replace this attribution.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.