camoufox

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Camoufox Browser Automation

Camoufox浏览器自动化

Use
camoufox-browser
for browser automation. Prefer the CLI directly. The MCP server is just a thin adapter over the same command layer, and this skill exists to teach the agent the normal CLI workflow.
使用
camoufox-browser
进行浏览器自动化操作。建议直接使用CLI。MCP服务器只是在同一命令层之上的轻量适配器,本技能旨在向Agent传授常规的CLI工作流程。

Primary workflow

主要工作流程

  1. Open a page:
bash
camoufox-browser open https://example.com
  1. Inspect the page and collect refs:
bash
camoufox-browser snapshot
  1. Interact using refs from the snapshot:
bash
camoufox-browser click 'button:Sign in'
camoufox-browser fill 'textbox:Email' user@example.com
camoufox-browser select 'combobox:Country' Ukraine
camoufox-browser upload 'textbox:Resume' /absolute/path/resume.pdf
  1. Re-run
    snapshot
    after navigation or significant DOM changes.
  2. Capture artifacts when needed:
bash
camoufox-browser screenshot --output page.png
camoufox-browser eval '() => document.title'
  1. 打开页面:
bash
camoufox-browser open https://example.com
  1. 检查页面并收集引用:
bash
camoufox-browser snapshot
  1. 使用快照中的引用进行交互:
bash
camoufox-browser click 'button:Sign in'
camoufox-browser fill 'textbox:Email' user@example.com
camoufox-browser select 'combobox:Country' Ukraine
camoufox-browser upload 'textbox:Resume' /absolute/path/resume.pdf
  1. 在页面导航或DOM发生重大变化后重新运行
    snapshot
    命令。
  2. 必要时捕获产物:
bash
camoufox-browser screenshot --output page.png
camoufox-browser eval '() => document.title'

Notes

注意事项

  • You do not need to run
    start
    for the normal flow.
    camoufox-browser
    auto-starts the daemon with default settings when a browser command needs it.
  • Use
    camoufox-browser start --headless
    only when you need explicit daemon control or startup options like
    --proxy
    .
  • camoufox-browser
    is intended for Linux and macOS hosts.
  • Use
    camoufox-browser --help
    to discover the full command surface.
  • Install this skill through
    npx skills add <repo> --skill camoufox
    .
  • 在常规流程中无需运行
    start
    命令。当浏览器命令需要时,
    camoufox-browser
    会自动使用默认设置启动守护进程(daemon)。
  • 仅当你需要显式控制守护进程或使用
    --proxy
    等启动选项时,才使用
    camoufox-browser start --headless
    命令。
  • camoufox-browser
    适用于Linux和macOS主机。
  • 使用
    camoufox-browser --help
    查看完整的命令列表。
  • 通过
    npx skills add <repo> --skill camoufox
    安装本技能。

Core commands

核心命令

bash
camoufox-browser open <url>
camoufox-browser snapshot
camoufox-browser click <ref>
camoufox-browser fill <ref> <text>
camoufox-browser select <ref> <value> [more-values...]
camoufox-browser upload <ref> <file> [more-files...]
camoufox-browser screenshot [--output FILE]
camoufox-browser close
bash
camoufox-browser open <url>
camoufox-browser snapshot
camoufox-browser click <ref>
camoufox-browser fill <ref> <text>
camoufox-browser select <ref> <value> [more-values...]
camoufox-browser upload <ref> <file> [more-files...]
camoufox-browser screenshot [--output FILE]
camoufox-browser close

Advanced commands

高级命令

bash
camoufox-browser start [--headless] [--os windows|macos|linux] [--proxy PROXY]
camoufox-browser stop
camoufox-browser status
camoufox-browser tabs list|new|close [index]|select <index>
bash
camoufox-browser start [--headless] [--os windows|macos|linux] [--proxy PROXY]
camoufox-browser stop
camoufox-browser status
camoufox-browser tabs list|new|close [index]|select <index>