hive.browser-automation
详述实操细节与常见陷阱,能显著降低自动化失败率。
需安装 Beeline/扩展并控制真实浏览器,注意权限与隐私风险。
指导在真实 Chrome(通过 CDP/Beeline)上安全可靠地执行浏览器自动化操作。
在真实 Chrome(通过 CDP 和 Beeline 扩展)上做可靠的浏览器自动化,教你用截图+坐标绕过 shadow-DOM、不可见 selector 和富文本编辑器的坑。常用于自动登录、表单填写或对付 LinkedIn/Reddit/X 这类有反自动化机制的网站。它操作的是浏览器的原生 hit-testing 与布局引擎,所以理解 CSS-pixel、CSP 等细节能大幅减少失败。
▸ 展开 SKILL.md 英文原文
Required before any browser_* tool call. Teaches the screenshot + browser_click_coordinate workflow that reaches shadow-DOM inputs selectors can't see, the CSS-pixel coordinate rule (not physical px), rich-text editor quirks ("send button stays disabled" failures), and CSP gotchas. Covers Chrome via CDP through the GCU Beeline extension. Skipping this causes repeated failures on LinkedIn / Reddit / X. Verified against real production sites 2026-04-11.
帮我安装这个 skill:https://raw.githubusercontent.com/aden-hive/hive/main/core/framework/skills/_preset_skills/browser-automation/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/aden-hive/hive/main/core/framework/skills/_preset_skills/browser-automation/SKILL.md"# GCU Browser Automation All GCU browser tools drive a real Chrome instance through the Beeline extension and Chrome DevTools Protocol (CDP). That means clicks, keystrokes, and screenshots are processed by the actual browser's native hit testing, focus, and layout engines — **not** a synthetic event layer. Understanding this unlocks strategies that make hard sites easy. ## Coordinates Every browser tool that takes or returns coordinates operates in **fractions of the viewport (0..1 for both axes)**. Read a target's proportional position off `browser_screenshot` — "this button is about 35% from the left and 20% from the top" → pass `(0.35, 0.20)`. Rect-returning tools (`browser_get_rect`,