跳到正文
Skillpedia
部署与云(DevOps)120k · #737

remote-browser

它能做什么

这个技能让智能体在自身机器无法运行浏览器时,改为在云端运行浏览器。适合智能体运行在没有浏览器的服务器或沙盒环境中的人。

适用场景

  • ✓当你的智能体运行在没有可用本地 Chrome 的机器上的时候。
  • ✓当你需要为某项任务使用一个独立、隔离的浏览器的时候。
  • ✓当你需要多个浏览器同时为不同任务并行工作的时候。

技能链接

https://github.com/browser-use/browser-use/blob/main/skills/remote-browser/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/browser-use/browser-use/blob/main/skills/remote-browser/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我启动一个隔离的云端浏览器,打开这个网站的价格页面,让你可以阅读它。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体为任务启动一个命名的远程浏览器,对它执行命令,并读取页面或与页面互动。每个远程浏览器都是独立的,在停止或超时之前可能一直计费。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Remote Browser

Use this skill when an agent runs on a machine without a usable local Chrome and needs an isolated browser. The current Browser Use CLI runs Python from stdin. Do not use the removed open, state, click, input, tab, cloud connect, or --connect commands.

Check the CLI

browser-use --doctor
browser-use skill show

If setup fails, follow the current Browser Use skill.

Start an isolated browser

Authenticate once:

browser-use auth login

Pick a short unique name. r7k2 below is only an example.

browser-use <<'PY'
start_remote_daemon("r7k2")
PY

Use the same name for every command in this browser:

BU_NAME=r7k2 browser-use <<'PY'
new_tab("https://example.com")
wait_for_load()
print(page_info())
PY

Each remote daemon is a separate Browser Use Cloud browser. Use a different name for each parallel task. Remote browsers can bill until they stop or time out.

Inspect and interact

Helpers are pre-imported. Keep multi-step work in one heredoc when practical.

BU_NAME=r7k2 browser-use <<'PY'
print(page_info())
print(js("document.title"))

fill_input('input[name="q"]', "browser automation")
press_key("Enter")
wait_for_load()

print(page_info())
PY

Useful helpers:

  • Navigate: new_tab(url), goto_url(url), wait_for_load()
  • Inspect: page_info(), js(code), cdp(method, ...)
  • Interact: click_at_xy(x, y), type_text(text), fill_input(selector, text), press_key(key), scroll(x, y)
  • Tabs: list_tabs(), switch_tab(target), close_tab(target)
  • Files and proof: capture_screenshot(), wait_for_element(selector)

Prefer the accessibility tree for element discovery:

nodes = cdp("Accessibility.getFullAXTree")["nodes"]

Use a targeted js(...) query when the accessibility tree lacks the element. Verify each action with page_info(), a focused DOM check, or a screenshot.

Stop the browser

When the work is done, stop the exact named browser:

browser-use <<'PY'
stop_remote_daemon("r7k2")
PY

Do not leave an unused remote browser running.

常见问题

它需要花钱吗?

根据说明,远程浏览器在停止或超时之前可能持续计费。

我可以同时运行多个吗?

可以。每个并行任务使用各自命名的浏览器。

它需要登录吗?

需要。说明中提到,要先用 Browser Use CLI 完成一次身份验证。

详情

作者的原始描述

Controls an isolated Browser Use Cloud browser from a sandboxed machine with the current Browser Use CLI.

repo: browser-use/browser-use

热度

GitHub 星标
120k
排名
#737
许可证
MIT
更新时间
2026/11/1

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能