await automeBrowser(chrome, { realSession: true })
/** Real Chrome browser control. Navigate, click, extract, fill forms β OpenClaw drives the browser like a human. */
βοΈ How It Works
π Configuration
# IDENTITY.md for Browser Automation Agent You are a web automation specialist. You control a real Chrome browser to accomplish tasks the user describes. ## Browser Rules 1. Always wait for page load before interacting 2. Take screenshots at key steps for audit trail 3. Never auto-submit payment or legal forms 4. Rate-limit requests: max 1 page/3 seconds 5. Respect robots.txt unless user explicitly overrides ## Data Extraction - Output structured JSON for tabular data - Include source URL and timestamp with every extraction - Store in memory for follow-up queries - For recurring tasks, save extraction templates ## Authentication - Use credentials from secrets manager only - Never type passwords visible in screenshots - Clear session cookies after sensitive operations - Support 2FA prompts: pause and ask user for code ## Error Handling - If CAPTCHA detected: attempt vision solve Γ 3, then ask user - If login fails: do NOT retry (lockout risk) - If page structure changed: report and suggest updated selectors - If rate-limited (429): exponential backoff, max 5 retries
π Real-World Applications
Track competitor prices across 50+ product pages daily. Get alerts when prices drop below thresholds. Export price history to spreadsheet.
Scrape LinkedIn profiles, company directories, and job boards. Export structured data (name, title, company, email) to your CRM.
Write tests in plain English: 'Log in, add item to cart, checkout with test card, verify confirmation.' OpenClaw reports what broke.
Auto-fill repetitive government or tax forms using your stored data. Screenshot every step for compliance. Review before submission.
Monitor brand mentions, competitor activity, and trending topics across platforms β no API required.
π¬ Example Session
π Detailed Workflow: Price Monitoring
Task: Monitor RTX 5090 prices across 5 retailers Schedule: Daily at 8:00 AM Run Log β March 17, 2026: [08:00:01] Starting Chrome session (sandboxed) [08:00:03] β amazon.com/s?q=RTX+5090 Extracted 23 listings, 3 under $2000 Screenshot: screenshots/amazon_20260317.png [08:00:09] β newegg.com/p/pl?d=RTX+5090 Extracted 18 listings, 1 under $2000 Screenshot: screenshots/newegg_20260317.png [08:00:14] β bestbuy.com/searchpage.jsp?st=RTX+5090 Extracted 8 listings, 0 under $2000 Note: All models $2,099+ at Best Buy [08:00:19] β microcenter.com Login required β using saved credentials 2FA prompt β user provided code via Telegram Extracted 12 listings, 2 under $2000 [08:00:28] β bhphotovideo.com Extracted 6 listings, 1 under $2000 Summary generated: βββββββββββββββ¬βββββββββββ¬βββββββββββββ¬βββββββββ β Retailer β Listings β Under $2K β Best β βββββββββββββββΌβββββββββββΌβββββββββββββΌβββββββββ€ β Amazon β 23 β 3 β $1,849 β β Newegg β 18 β 1 β $1,929 β β Best Buy β 8 β 0 β $2,099 β β Micro Centerβ 12 β 2 β $1,879 β β B&H Photo β 6 β 1 β $1,969 β βββββββββββββββ΄βββββββββββ΄βββββββββββββ΄βββββββββ Alert sent: "7 RTX 5090 GPUs found under $2,000. Best deal: Amazon ASUS TUF at $1,849." Price trend vs yesterday: β 2.3% average [08:00:32] Session closed. Next run: tomorrow 8:00 AM
π OpenClaw vs Traditional Tools
| Feature | Puppeteer/Playwright | Selenium | OpenClaw Browser |
|---|---|---|---|
| Setup | Write code | Write code + drivers | Natural language |
| Maintenance | Break on DOM changes | Break on DOM changes | Self-healing (AI) |
| CAPTCHA | No | No | Vision model (basic) |
| Learning curve | JavaScript/Python | Java/Python | English/δΈζ/ζ₯ζ¬θͺ |
| Auth handling | Manual code | Manual code | Secrets manager |
| Error recovery | Try-catch | Try-catch | AI retry + fallback |
| Cost | Free | Free | Free (runs locally) |
π Results: E-Commerce Price Monitoring
| Metric | Manual | With OpenClaw | Change |
|---|---|---|---|
| Products tracked | 10 | 200+ | β 20x |
| Time per check | 45 min | 30 sec (auto) | β 99% |
| Price alerts | 1/week (manual) | Real-time | Instant |
| Money saved (deals caught) | $0 | $340/mo avg | New value |
| Script maintenance | 2 hrs/week | 0 | β 100% |
π Security Architecture
Browser automation runs in a sandboxed gVisor container. Each session gets isolated: separate filesystem, network namespace, and cookie jar. Credentials are injected from the secrets manager at runtime and never persisted in browser storage. All sessions are recorded for audit (video + action log).