Browser Automation V2
Enterprise-grade browser automation with automatic tab cleanup, timeout retries, concurrency lock, smart waiting, and configurable environment settings.
Boda Fu
@bodafu
What This Skill Does
Enterprise-grade browser automation tool with automatic tab cleanup, timeout retries, concurrency lock, and smart waiting. Provides scripts for Google search with screenshot/PDF, page content fetching, batch URL processing, and form auto-fill.
Replaces manual browser testing and fragile Puppeteer scripts by providing a robust, configurable automation framework with built-in resource management and retry logic.
When to Use It
- Automate Google searches and capture results as screenshots or PDFs
- Fetch and extract content from multiple web pages in batch
- Auto-fill web forms with structured data from a JSON payload
- Run scheduled browser tasks without accumulating open tabs
- Test web page load performance with configurable timeouts and retries
Install
$ openclaw skills install @bodafu/browser-automation-v2Browser 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 classsearch-google.js- Google search with screenshot + PDFfetch-summary.js- Fetch page content (static or dynamic)multi-pages.js- Batch process multiple URLsfill-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 aito debug refs
Created: 2026-02-16 Version: 2.0.0 License: MIT
Top skills in this category
Agent Browser
@matrixyHeadless browser automation CLI optimized for AI agents with accessibility tree snapshots and ref-based element selection
Browser Use
@shawnpanaAutomates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with w...
Playwright MCP
@spiceman161Browser automation via Playwright MCP server. Navigate websites, click elements, fill forms, extract data, take screenshots, and perform full browser automation workflows.
Playwright (Automation + MCP + Scraper)
@ivangdavilaAutomates, tests, and debugs browsers with Playwright: locators, auto-waiting, traces, CI runs, and MCP browser control. Use when a test is flaky, times out, or fails only in CI or headless; when a locator matches multiple elements or the wrong one (strict mode violation); when clicks need force, waits become sleeps, or networkidle never settles; for storageState and login setup, request mocking and HAR replay, uploads and downloads, iframes and shadow DOM, popups and dialogs, screenshot diffs that change per machine, trace and report artifacts, sharding a slow suite, device and permission emulation, accessibility checks, driving a real browser through Playwright MCP, extracting data from JS-rendered pages, or porting a Cypress, Puppeteer, or Selenium suite to Playwright. Not for maintaining an existing Cypress or Puppeteer suite (cypress, puppeteer) or for work a plain HTTP request answers (http).
Browser Automation
@peytoncasperAutomate web browser interactions using natural language via CLI commands. Use when the user asks to browse websites, navigate web pages, extract data from websites, take screenshots, fill forms, click buttons, or interact with web applications.