๋ณธ๋ฌธ์œผ๋กœ ๊ฑด๋„ˆ๋›ฐ๊ธฐ
ๅฐ้พ™่™พๅฐ้พ™่™พAI
๐Ÿค–

Browser Automation V2

Enterprise-grade browser automation with automatic tab cleanup, timeout retries, concurrency lock, smart waiting, and configurable environment settings.

ไธ‹่ฝฝ4.0k
ๆ˜Ÿๆ ‡2
็‰ˆๆœฌ2.0.0
ๆต่งˆๅ™จ็ฝ‘้กต
ๅฎ‰ๅ…จ้€š่ฟ‡

ๆŠ€่ƒฝ่ฏดๆ˜Ž

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)
  • 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

ๅฆ‚ไฝ•ไฝฟ็”จใ€ŒBrowser Automation V2ใ€๏ผŸ

  1. ๆ‰“ๅผ€ๅฐ้พ™่™พAI๏ผˆWeb ๆˆ– iOS App๏ผ‰
  2. ็‚นๅ‡ปไธŠๆ–นใ€Œ็ซ‹ๅณไฝฟ็”จใ€ๆŒ‰้’ฎ๏ผŒๆˆ–ๅœจๅฏน่ฏๆก†ไธญ่พ“ๅ…ฅไปปๅŠกๆ่ฟฐ
  3. ๅฐ้พ™่™พAI ไผš่‡ชๅŠจๅŒน้…ๅนถ่ฐƒ็”จใ€ŒBrowser Automation V2ใ€ๆŠ€่ƒฝๅฎŒๆˆไปปๅŠก
  4. ็ป“ๆžœๅณๆ—ถๅ‘ˆ็Žฐ๏ผŒๆ”ฏๆŒ็ปง็ปญๅฏน่ฏไผ˜ๅŒ–

็›ธๅ…ณๆŠ€่ƒฝ