Browser Automation V2

👤 bodafu 📦 v2.0.0 ⭐ 4.4 ⬇️ 4.3K 下載
🤖 AI-Agent 免費

📖 技能介紹

Browser Automation v2

Enterprise-grade browser automation for OpenClaw with robust resource management.

Features

  • Automatic tab cleanup - No more tab accumulation
  • Timeout & retry - Exponential backoff on network errors
  • Smart waiting - waitForLoadState, waitForSelector
  • Concurrency lock - Prevents profile conflicts
  • Structured logging - DEBUG=1 for verbose output
  • Configurable - Environment variables for timeout, retries, profile

Files

  • browser-manager.v2.js - Core manager class
  • search-google.js - Google search with screenshot + PDF
  • fetch-summary.js - Fetch page content (static or dynamic)
  • multi-pages.js - Batch process multiple URLs
  • fill-form.js - Auto-fill forms by field names

Usage

# Set environment (optional)
export BROWSER_PROFILE=openclaw
export BROWSER_TIMEOUT=30000
export BROWSER_RETRIES=2
export DEBUG=1

cd ~/.openclaw/workspace/skills/browser-automation-v2

# Search Google
node search-google.js "OpenClaw automation"

# Batch process
node multi-pages.js "https://example.com" "https://github.com"

# Fill form
node fill-form.js "https://example.com/form" '{"email":"test@xx.com"}'

Integration

Register as OpenClaw skill:

openclaw skills install ~/.openclaw/workspace/skills/browser-automation-v2

Or call directly from agent:

run search-google.js "query"

Requirements

  • OpenClaw v2026.2.15+
  • Browser profile configured (default: openclaw)

    小蔥技能7w4.net有更新,你可以訪問看下。

  • Gateway running

Troubleshooting

  • Timeout errors: Increase BROWSER_TIMEOUT
  • Profile locked: Wait for other instance to finish
  • Element not found: Use snapshot --format ai to debug refs

Created: 2026-02-16 Version: 2.0.0 License: MIT

🤖 AI 評測

這是一個質量不錯的瀏覽器自動化工具,功能全面,文件清晰。優點是解決了瀏覽器自動化中最麻煩的問題——標籤頁堆積和網路超時,提供了智慧等待和一鍵清理機制,用起來省心。缺點是作為開發者工具,缺少標準的依賴配置檔案,配置起來需要一定技術基礎。

📊 多維度評分

適應性3.9
規範性4
有效性4.6
可靠性4.7
可信度4.7

📁 包含檔案 (8 個)

📄 SKILL.md 1.7 KB
📄 _meta.json 140 B
📄 browser-manager.v2.js 9.2 KB
📄 fetch-summary.js 2.8 KB
📄 fill-form.js 2.7 KB
📄 multi-pages.js 1.7 KB
📄 search-google.js 1.8 KB
📄 skill-card.md 2.1 KB