Xpersona
O

Oc Browser Automation 1.0.0

CLAWHUB · Unverified

浏览器控制工具 - 封装 OpenClaw browser 工具,支持网页自动化、截图、点击输入等操作 Skill: Oc Browser Automation 1.0.0 Owner: vlvwlw Summary: 浏览器控制工具 - 封装 OpenClaw browser 工具,支持网页自动化、截图、点击输入等操作 Tags: latest:1.0.0 Version history: v1.0.0 | 2026-03-26T06:21:10.918Z | auto bb-browser 1.0.0 初始发布 - 封装 OpenClaw browser,提供网页自动化操作(打开网页、截图、点击、输入、滚动等) - 支持标签页管理、文件上传、下载、网络与设备状态设置等功能 - 提供 AI 快照与角色快照引用,便于元素定位和交互 - 详细示例涵盖登录、表单填写、文件下载等常见操作流程 - 内置调试与排错工具:控制台输出、网络请求跟踪、Trace 录制与元素高亮 - 支持参数化控制,多模式快照与操作可选 Archive index

62
Rank
84
Safety
1.0k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17ewdbyrva7h5ddxtq45ppk7983mpqy:oc-browser-automation-1-0-0
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-vlvwlw-oc-browser-automation-1-0-0/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

7,276 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: bb-browser
description: 浏览器控制工具 - 封装 OpenClaw browser 工具,支持网页自动化、截图、点击输入等操作
triggers:
  - bb-browser
  - 浏览器
  - 浏览网页
  - 截图
  - browser
---

# bb-browser 浏览器控制工具

这是 OpenClaw browser 工具的封装,提供强大的浏览器自动化能力。

## 核心功能

| 功能 | 说明 |
|------|------|
| **打开网页** | 导航到指定 URL |
| **截图** | 页面截图或全页截图 |
| **快照** | 获取页面 DOM 快照(AI 快照或 ARIA 快照) |
| **点击** | 点击页面元素 |
| **输入** | 在输入框中输入文本 |
| **滚动** | 滚动页面 |
| **等待** | 等待元素/文本/URL 加载 |
| **标签页管理** | 打开/切换/关闭标签页 |
| **文件上传** | 上传文件到网页 |
| **下载** | 从网页下载文件 |

## 使用方式

### 1. 查看浏览器状态

```
browser action=status
```

### 2. 启动浏览器

```
browser action=start
```

### 3. 打开网页

```
browser action=open url="https://example.com"
```

### 4. 截图

```javascript
// 普通截图
browser action=screenshot

// 全页截图
browser action=screenshot fullPage=true

// 带标签的截图(显示元素编号)
browser action=snapshot labels=true
```

### 5. 获取页面快照

```javascript
// AI 快照(带数字编号,适合点击操作)
browser action=snapshot

// 交互式快照(推荐,更稳定)
browser action=snapshot interactive=true

// 紧凑模式
browser action=snapshot compact=true
```

### 6. 点击元素

```javascript
// 使用快照返回的数字 ref
browser action=act kind=click ref="12"

// 使用 role ref
browser action=act kind=click ref="e12"
```

### 7. 输入文本

```javascript
// 输入文本并提交
browser action=act kind=type ref="23" text="hello" submit=true

// 输入后按回车
browser action=act kind=press key="Enter"
```

### 8. 等待元素

```javascript
// 等待文本出现
browser action=wait text="完成"

// 等待 URL 变化
browser action=wait url="**/dashboard"

// 等待加载状态
browser action=wait load=networkidle

// 组合等待
browser action=wait selector="#main" url="**/dash" load=networkidle
```

### 9. 标签页操作

```javascript
// 打开新标签页
browser action=open url="https://example.com"

// 列出标签页
browser action=tabs

// 切换到指定标签页
browser action=focus targetId="abcd1234"

// 关闭标签页
browser action=close targetId="abcd1234"
```

### 10. 文件上传

```javascript
// 上传文件
browser action=upload filePath="/tmp/openclaw/uploads/file.pdf"
```

### 11. 滚动页面

```javascript
// 滚动到元素可见
browser action=act kind=scrollIntoView ref="e12"

// 滚动到顶部/底部
browser action=act kind=evaluate fn="window.scrollTo(0, document.body.scrollHeight)"
```

### 12. 设置浏览器状态

```javascript
// 设置离线模式
browser action=set offline=true

// 设置自定义 Headers
browser action=set headers="{\"X-Debug\":\"1\"}"

// 设置地理位置
browser action=set geo="37.7749,-122.4194"

// 设置 User Agent / 设备
browser action=set device="iPhone 14"
```

## 快照引用 (Refs) 详解

### AI 快照 (默认)
- 返回带数字编号的快照 (1, 2, 3...)
- 点击时使用 `ref="12"` 这样的数字

### Role 快照 (推荐)
- 使用 `--interactive` 或 `--compact` 参数
- 返回 `[ref=e12]` 格式的角色引用
- 更稳定,不依赖 DOM 结构变化

### 重要提示
- **Refs 在页面导航后会失效**,每次操作前建议重新获取快照
- 使用 `highlight` 可以高亮显示目标元素,验证点击位置

## 常见工作流

### 登录网页示例
1. `browser action=open url="https://example.com/login"`
2. `browser action=snapshot` → 获取快照
3. `browser action=act kind=type ref="5" text="username"` → 输入用户名
4. `browser action=act kind=type ref="6" text="password"` → 输入密码
5. `browser action=act kind=click ref="7"` → 点击登录按钮
6. `browser action=wait url="**/dashboard"` → 等待跳转

### 填写表单示例
1. 打开页面
2. `bro

_meta.json

{
  "ownerId": "kn738y6rpy65r8mkjv7hnvevx983mzhr",
  "slug": "oc-browser-automation-1-0-0",
  "version": "1.0.0",
  "publishedAt": 1774506070918
}

skill-card.md

## Description:

Browser control helper that wraps OpenClaw browser operations for web automation, screenshots, clicking, typing, scrolling, tab management, uploads, downloads, and page snapshots.

This skill is ready for commercial/non-commercial use.

## Publisher:

[vlvwlw](https://clawhub.ai/user/vlvwlw)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agent operators use this skill to drive browser workflows such as opening pages, collecting screenshots or snapshots, interacting with page elements, uploading and downloading files, and debugging page behavior.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill can act through browser sessions, including sessions that may already be logged in.

Mitigation: Use it deliberately, avoid connecting it to a personal Chrome profile unless needed, and review browser actions before using authenticated sessions.

Risk: Screenshots and snapshots may expose sensitive data from logged-in pages.

Mitigation: Check screenshots and snapshots for sensitive data before sharing or storing them outside the session.

Risk: The skill supports file uploads and downloads.

Mitigation: Confirm upload sources, download destinations, and file contents before transferring files through browser workflows.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/vlvwlw/skills/oc-browser-automation-1-0-0)
- [Publisher profile](https://clawhub.ai/user/vlvwlw)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, configuration, guidance]

**Output Format:** [Markdown with inline browser command examples]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May reference browser snapshots, page screenshots, tabs, downloads, uploads, console output, network requests, trace recordings, and element refs.]

## Skill Version(s):

1.0.0 (source: server release metadata and artifact _meta.json)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Oc Browser Automation 1.0.0 and adjacent AI workflows.