Clawbrowser for Openclaw

A terminal-driven browser automation skill that allows AI agents to navigate the web, interact with elements, and manage persistent sessions via Playwright CLI.

tezatezaz
v0.1.1
Feb 6, 2026
7
5.5k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install clawbrowser

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install clawbrowser using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Clawbrowser?

Clawbrowser is a comprehensive skill designed to empower AI agents with the ability to drive web browsers through the Microsoft Playwright CLI. It enables precise navigation, form interactions, and data extraction without requiring a full graphical interface. By integrating this into the Openclaw Skills ecosystem, developers can automate complex web workflows including session persistence, visual debugging, and automated reporting.

The skill focuses on efficiency by training agents to use element snapshots and session-based configurations. This ensures that browser interactions are reliable, repeatable, and easily auditable. Whether you are building a research agent or a testing bot, Clawbrowser provides the necessary hooks to treat the web as a programmable interface.

Clawbrowser Use Cases

  • Automating complex login flows and multi-page form submissions.
  • Capturing high-resolution screenshots and PDFs of web pages for documentation.
  • Managing multiple authenticated user sessions for testing or data scraping.
  • Debugging front-end issues by inspecting network logs and console outputs.
  • Creating video recordings of automated agent interactions for audit trails.

How Clawbrowser Works

  1. The agent initializes a browser instance using the playwright-cli open command with optional session flags.
  2. A snapshot of the current page is generated to map DOM elements to stable references like e1 or e2.
  3. Interactions such as click, fill, or hover are performed using these generated references to ensure accuracy.
  4. Navigation events are handled via tab management or standard go-back and reload commands.
  5. Results and evidence are captured through screenshots, network dumps, or tracing files before the session is closed.

Clawbrowser Setup

To get started with this skill, install the Playwright CLI globally and verify the installation:

npm install -g @playwright/cli@latest
playwright-cli --help

You can configure default behaviors by creating or editing a playwright-cli.json file. Use the playwright-cli install command if browser binaries are missing in your environment.

Clawbrowser Data Schema & Taxonomy

Clawbrowser maintains a structured approach to browser data and session state. The following table describes how information is organized within the Openclaw Skills framework:

Component Format Description
Sessions Directory Stores cookies, local storage, and indexedDB data for persistent auth.
Snapshots Text/JSON Maps UI elements to short-hand references (e.g., e1, e2) for the agent.
Media PNG/WebM Stores screenshots and video recordings of the browser viewport.
Traces Zip/JSON Contains detailed execution logs and network activity for debugging.
Config JSON Defines browser type, viewport size, and timeout settings.

Clawbrowser Advanced Features

  • Isolated session profiles that allow for concurrent workflows with different credentials.
  • Advanced mouse and keyboard emulation including drag-and-drop and complex key combinations.
  • Custom JavaScript execution via run-code for deep DOM manipulation and introspection.
  • Headless and headed toggle support for both background automation and manual inspection.
  • Full network and console logging to monitor application behavior in real-time.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*