Skip to content
Browser Automation Expert logo

Browser Automation Expert

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

SKILL.md

Full skill instructions

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. 隐私保护: 避免在脚本或工具调用中泄露敏感的个人凭据。

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View