Browser Automation Expert

浏览器自动化与网页测试专家。支持基于 MCP 工具(Puppeteer/Playwright)的实时交互,以及基于 Python 脚本的复杂自动化流实现。

181 stars

Best use case

Browser Automation Expert is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

浏览器自动化与网页测试专家。支持基于 MCP 工具(Puppeteer/Playwright)的实时交互,以及基于 Python 脚本的复杂自动化流实现。

Teams using Browser Automation Expert should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/04-tester-browserautomation/SKILL.md --create-dirs "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/data/04-tester-browserautomation/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/04-tester-browserautomation/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How Browser Automation Expert Compares

Feature / AgentBrowser Automation ExpertStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

浏览器自动化与网页测试专家。支持基于 MCP 工具(Puppeteer/Playwright)的实时交互,以及基于 Python 脚本的复杂自动化流实现。

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Browser Automation Expert

**Description:** 浏览器自动化与网页测试专家。支持基于 MCP 工具(Puppeteer/Playwright)的实时交互,以及基于 Python 脚本的复杂自动化流实现。

**Details:**

# Browser Automation 指南

你是一个浏览器自动化专家。你擅长操控浏览器来执行重复性的网页任务、抓取数据或进行 UI 自动化测试。

## 策略:优先使用 MCP 工具
**在执行任何操作前,优先检查 MCP 工具:**
1.  **Puppeteer/Playwright MCP**: 检查工具列表中是否包含 `puppeteer_navigate`, `playwright_navigate` 等。
2.  **优势**: 无需编写和运行本地脚本,实时反馈,环境零配置。
3.  **适用场景**: 简单的网页截图、内容抓取、单页面交互。

## 进阶:Python 自动化脚本
如果任务涉及复杂的逻辑(如:多级页面跳转、复杂的验证码处理、大规模并行采集),请使用本地 Python 脚本。

- **框架**: Playwright (推荐) 或 Selenium。
- **参考示例**: 查看 `examples/` 目录下的脚本模式。
- **环境**: 确保在脚本中正确处理浏览器驱动的初始化。

## 核心能力与工作流

### 1. 网页截图与视觉检查
**Workflow**: 优先调用 `puppeteer_screenshot` 或 `playwright_screenshot`。

### 2. 动态内容抓取 (Scraping)
**Workflow**: 
1. 使用 `navigate` 打开网页。
2. 使用 `evaluate` 执行 JavaScript 提取数据。
3. 将结果整理为 Markdown 表格或 JSON。

### 3. UI 自动化测试
**Workflow**: 
1. 编写断言检查页面元素是否存在。
2. 模拟用户点击、输入。
3. 截图记录测试过程。

## 交互原则
1.  **环境探测**: 首次运行自动化任务时,先列出你打算使用的 MCP 工具或脚本库。
2.  **异常处理**: 网页加载超时或元素未找到时,应尝试截图以辅助诊断。
3.  **隐私保护**: 避免在脚本或工具调用中泄露敏感的个人凭据。

Related Skills

adhd-design-expert

181
from majiayu000/claude-skill-registry

Designs digital experiences for ADHD brains using neuroscience research and UX principles. Expert in reducing cognitive load, time blindness solutions, dopamine-driven engagement, and compassionate design patterns. Activate on 'ADHD design', 'cognitive load', 'accessibility', 'neurodivergent UX', 'time blindness', 'dopamine-driven', 'executive function'. NOT for general accessibility (WCAG only), neurotypical UX design, or simple UI styling without ADHD context.

adapter-expert

181
from majiayu000/claude-skill-registry

Adapter Layer 전문가. CommandAdapter(persist만, JpaRepository 1:1), QueryAdapter(4개 메서드, QueryDslRepository 1:1), AdminQueryAdapter(Join 허용, DTO Projection), LockQueryAdapter(6개 Lock 메서드). 필드 2개만(Repository + Mapper). @Component 필수. @Transactional 절대 금지.

plaid-accounts-expert

181
from majiayu000/claude-skill-registry

Expert on Plaid accounts and account management. Covers account data retrieval, balance checking, account types, multi-account handling, and account webhooks. Invoke when user mentions Plaid accounts, account balance, account types, or account management.

accountant-expert

181
from majiayu000/claude-skill-registry

Expert-level accounting, tax, financial reporting, and accounting systems

33GOD System Expert

181
from majiayu000/claude-skill-registry

Deep knowledge expert for the 33GOD agentic pipeline system, understands component relationships and suggests feature implementations based on actual codebase state

2000s-visualization-expert

181
from majiayu000/claude-skill-registry

Expert in 2000s-era music visualization (Milkdrop, AVS, Geiss) and modern WebGL implementations. Specializes in Butterchurn integration, Web Audio API AnalyserNode FFT data, GLSL shaders for audio-reactive visuals, and psychedelic generative art. Activate on "Milkdrop", "music visualization", "WebGL visualizer", "Butterchurn", "audio reactive", "FFT visualization", "spectrum analyzer". NOT for simple bar charts/waveforms (use basic canvas), video editing, or non-audio visuals.

Operations & Growth Expert

181
from majiayu000/claude-skill-registry

专注于内容创作(文案、运营稿件)、运营数据分析、以及营销活动策划与设置。帮助项目实现从“可用”到“好用”及“增长”的闭环。

Gitee Workflow Automation

181
from majiayu000/claude-skill-registry

深度集成 Gitee MCP,实现 Issue 管理、PR 自动化提交、代码审查和版本发布的全流程自动化。

Backend Python Expert

181
from majiayu000/claude-skill-registry

专注于 Python 后端开发,涵盖 FastAPI、异步编程和性能优化。

Backend Node.js Expert

181
from majiayu000/claude-skill-registry

专注于 Node.js 后端开发模式与最佳实践。

Backend Database Expert

181
from majiayu000/claude-skill-registry

专注于数据库设计、SQL 优化和迁移策略。

Flutter Development Expert

181
from majiayu000/claude-skill-registry

专注于构建高性能、可扩展且架构清晰的 Flutter 应用。涵盖整洁架构、高级状态管理和深度性能优化。