MyClaw
HomeProductsUse CasesPricingSkillsResourcesCompany
HomeUse CasesPricingSkills
Sign In
Home
ProductsOpenClaw HostingHermes Agent Hosting
Use CasesPricingSkills
ResourcesCompareTutorialLearnBlogUpdatesResourcesCommunity
CompanyAboutSupport
Sign In
MyClaw.ai

Your AI agent, already running.

Product

OpenClaw HostingHermes Agent HostingUse CasesPricingCompareAlibaba Cloud

Resources

BlogUpdatesSkillsModelsSupportCommunityCapybara

Legal

TermsPrivacyCookieGDPRContact

© 2023 Cubo World Inc. All rights reserved.

← Back to Skills
Browser & Automation
🤖

Agent Browser

Rust-based headless browser CLI for AI agents: navigate, click, fill forms, snapshot pages, and extract data via structured commands.

by TheSethRosev1.0.0
ProductivityAI PoweredOpen SourceAutomationCLIDeveloper Tool
Connecting to VM...
Connecting to VM...
npx clawhub@latest install agent-browser
1.0kCurrent Installs
957All-time Installs
📦
v1.0.0Version
View Source(ClawHub)

Agent Browser Skill Overview

Agent Browser is a fast, headless browser automation CLI built in Rust (with Node.js fallback) designed specifically for AI agents. It lets agents navigate URLs, interact with page elements using stable @ref identifiers, extract structured data, capture screenshots, record video, and manage sessions — all via simple, composable shell commands. Whether you're automating form submissions, scraping dynamic content, or testing web UIs, Agent Browser provides a consistent, scriptable interface to real browser behavior.

How to Use It

Step 1: Run in your terminal or install this skill on MyClaw

npx clawhub@latest install agent-browser
or

Click the Install button at the top of this page for one-click setup

When to Use Agent Browser

Best Fit

  • Automating web interactions — You need an AI agent to navigate pages, click buttons, fill forms, or perform multi-step workflows on real websites.
  • Extracting structured data — You want to snapshot a page's accessibility tree or DOM to pull text, attributes, or element counts from dynamic, JavaScript-rendered content.
  • Filling forms programmatically — You're submitting login forms, search queries, or multi-field forms as part of an automated pipeline.
  • Testing web UIs — You need lightweight, CLI-driven browser testing with screenshots, PDF export, or video recording of interactions.

When Not to Use

  • Static HTML scraping — If the target page is plain HTML with no JavaScript, a lighter HTTP client or HTML parser will be faster and simpler.
  • High-concurrency crawling at scale — Agent Browser is optimized for sequential agent workflows, not distributed web crawling across thousands of URLs simultaneously.

Key Features

Ref-based element targeting via accessibility snapshot

Run agent-browser snapshot -i to get a list of all interactive elements with stable @ref identifiers (e.g. @e1, @e2). Use these refs directly in subsequent click, fill, hover, or get commands — no CSS selectors or XPath required.

Comprehensive interaction commands

Supports click, double-click, focus, fill, type, key press/hold/release, hover, checkbox check/uncheck, dropdown select, drag-and-drop, file upload, and scroll — covering virtually every user interaction a browser supports.

Session management and saved state

Save authenticated browser state (cookies, storage) to a JSON file with agent-browser state save, then reload it in future sessions to skip re-authentication. Parallel isolated sessions via --session <name> allow multiple simultaneous browser contexts.

Screenshots, PDF export, and video recording

Capture full-page screenshots, save pages as PDFs, or record browser interactions as .webm video files. Recording preserves cookies and storage from the current session, making it ideal for creating reproducible demos.

Network interception and request mocking

Intercept, block, or mock HTTP requests with agent-browser network route. Filter and inspect tracked requests to debug API calls or simulate offline/error states during testing.

Semantic locators as an alternative to refs

When refs aren't available, use semantic locators to find elements by ARIA role, visible text, label, or CSS selector — for example, agent-browser find role button click --name "Submit" or agent-browser find text "Sign In" click.

Use Cases

Automated form submission pipeline

An AI agent opens a target URL, snapshots the page to identify form fields by ref, fills each field with agent-browser fill, submits with a click, then waits for network idle and re-snapshots to confirm success — all without a human in the loop.

Authentication with reusable session state

Log in once interactively, save the session with agent-browser state save auth.json, and reload it in all future agent runs. This avoids repeated login flows and keeps credentials out of automation scripts.

Dynamic page data extraction

Navigate to a JavaScript-rendered page, run agent-browser snapshot to capture the full accessibility tree, then use agent-browser get text or agent-browser get attr commands to extract structured content that a plain HTTP scraper would miss.

UI regression testing with visual artifacts

Script a sequence of browser interactions, capture screenshots or a video recording at each step, and export a PDF of the final state — giving QA pipelines visual proof of expected behavior across test runs.

Connecting to VM...
npx clawhub@latest install agent-browser
1.0kCurrent Installs
957All-time Installs
📦
v1.0.0Version
View Source(ClawHub)

FAQ

Reviews

0 reviews

Log in to write a review

No reviews yet. Be the first to share your experience!