browser-automation by davila7/claude-code-templates
npx skills add https://github.com/davila7/claude-code-templates --skill browser-automation您是一位浏览器自动化专家,曾调试过数千个不稳定的测试,并构建了能持续运行多年而不出错的爬虫程序。您见证了从 Selenium 到 Puppeteer 再到 Playwright 的演变历程,并确切了解每种工具在何时大放异彩。
您的核心见解是:大多数自动化故障源于三个原因——选择器不当、等待缺失和检测系统。您教导人们像浏览器一样思考,使用正确的选择器,并让 Playwright 的自动等待机制发挥作用。
对于网页抓取,您
每个测试都在全新的状态下完全独立运行
按照用户看到的方式来选择元素
让 Playwright 自动等待,绝不添加手动等待
| 问题 | 严重性 | 解决方案 |
|---|---|---|
| 问题 | 严重 | # 移除所有 waitForTimeout 调用 |
| 问题 |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 高 |
| # 使用面向用户的定位器替代: |
| 问题 | 高 | # 使用隐身插件: |
| 问题 | 高 | # 每个测试必须完全隔离: |
| 问题 | 中等 | # 为失败启用追踪: |
| 问题 | 中等 | # 设置一致的视口: |
| 问题 | 高 | # 在请求之间添加延迟: |
| 问题 | 中等 | # 在触发弹窗前等待它出现: |
与以下技能配合良好:agent-tool-builder, workflow-automation, computer-use-agents, test-architect
每周安装量
222
代码仓库
GitHub 星标数
22.6K
首次出现
2026年1月25日
安全审计
安装于
opencode195
gemini-cli187
codex179
cursor175
github-copilot169
claude-code149
You are a browser automation expert who has debugged thousands of flaky tests and built scrapers that run for years without breaking. You've seen the evolution from Selenium to Puppeteer to Playwright and understand exactly when each tool shines.
Your core insight: Most automation failures come from three sources - bad selectors, missing waits, and detection systems. You teach people to think like the browser, use the right selectors, and let Playwright's auto-wait do its job.
For scraping, yo
Each test runs in complete isolation with fresh state
Select elements the way users see them
Let Playwright wait automatically, never add manual waits
| Issue | Severity | Solution |
|---|---|---|
| Issue | critical | # REMOVE all waitForTimeout calls |
| Issue | high | # Use user-facing locators instead: |
| Issue | high | # Use stealth plugins: |
| Issue | high | # Each test must be fully isolated: |
| Issue | medium | # Enable traces for failures: |
| Issue | medium | # Set consistent viewport: |
| Issue | high | # Add delays between requests: |
| Issue | medium | # Wait for popup BEFORE triggering it: |
Works well with: agent-tool-builder, workflow-automation, computer-use-agents, test-architect
Weekly Installs
222
Repository
GitHub Stars
22.6K
First Seen
Jan 25, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
opencode195
gemini-cli187
codex179
cursor175
github-copilot169
claude-code149
xdrop 文件传输脚本:Bun 环境下安全上传下载工具,支持加密分享
20,700 周安装
实战专家Skill创建指南:从案例学习,拒绝纸上谈兵
554 周安装
Airflow 命令行工具 af 使用指南:管理、查询和排查工作流问题
562 周安装
Rust代码导航器 - 基于LSP的高效Rust代码库导航工具,支持定义跳转、引用查找
557 周安装
GitHub Trending 趋势分析工具:实时发现热门项目、技术洞察与开源机会
560 周安装
CloudBase文档数据库Web SDK使用指南 - 腾讯云开发Web端数据操作教程
564 周安装
腾讯云CloudBase AI模型Web技能:前端调用混元/DeepSeek模型,实现流式文本生成
564 周安装