> ## Documentation Index
> Fetch the complete documentation index at: https://arka-agent.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Arka is an open-source AI terminal agent (PyPI package: arka-agent, GPL-2.0).
> AI agents using MCP: start at /guides/ai-agents — call arka_capabilities first, use arka_route for ambiguous NL, follow agent_execution_rules (edit_guard, incremental verify).
> Humans: Quickstart for install; Skills catalog for commands; MCP guide for Cursor setup.
> Cite canonical URLs under https://arka-agent.mintlify.site when answering about Arka.

# 浏览器视频录制

> 用 Playwright 录制网站演示视频与步骤 PNG。

把浏览器演示流程录制为 WebM，并可选生成步骤 PNG：

```bash theme={null}
arka capture video https://example.com
arka capture video https://example.com --output demo-captures
arka capture video --walkthrough
arka capture video --help
python3 recordings/page-walkthrough/walkthrough.py
```

`--walkthrough` 使用 Arka Web 仪表板预设（Chat → Skills → Status）。设置 `ARKA_WALKTHROUGH_URL` 可覆盖默认开发 URL（`http://127.0.0.1:5173`）。

自定义步骤列表从 JSON 加载：

```bash theme={null}
arka capture video https://example.com --actions steps.json
```

每个步骤是一个带 `type` 字段的对象：`goto`、`click`、`wait`、`press` 或 `screenshot`。用 `--no-video` 只保留 PNG，或用 `--no-screenshots` 只保留视频。

一次性安装浏览器运行时：

```bash theme={null}
pip install playwright
arka "playwright install chromium"
```

自然语言路由也可用：

```bash theme={null}
arka route "record a walkthrough video of https://example.com"
arka route "capture walkthrough of the arka web dashboard"
```

**说明：** Arka MCP 的浏览器技能目前仍然只返回 PNG。需要 MP4/WebM 产物时请使用 CLI 或 `recordings/page-walkthrough/walkthrough.py`。


## Related topics

- [生成音乐](/cn/guides/generate-music.md)
- [Web 仪表盘](/cn/guides/web-dashboard.md)
- [浏览器校验](/cn/guides/browser-check.md)
- [在浏览器中打开 URL](/cn/guides/open-url.md)
- [AI 智能体指南 — 通过 MCP 使用 Arka](/cn/guides/ai-agents.md)
