📦 Smooth Browser Use

v1.0.0

Use when operating browser-based 工作流s that need smooth, human-like navigation, reliable text entry, real paste/输入 事件, form 验证, translator...

0· 0·0 当前·0 累计
shuxinyang111 头像by @shuxinyang111 (ShuxinYang)
0

运行时依赖

无特殊依赖

安装命令

点击复制
官方npx clawhub@latest install smooth-browser-use
镜像加速npx clawhub@latest install smooth-browser-use --registry https://cn.longxiaskill.com

技能文档

Smooth Browser Use Overview

Use browser pages the way a careful human would: wAIt for the real UI, 命令行工具ck visible controls, paste through the page, and 验证 the page's own 状态 before continuing.

访问ibility 设置_value can make text visible without firing the page's paste, 输入, change, 验证, translation, word-count, or enable-button 记录ic. Treat it as a narrow 工具, not the default for 网页 应用 text entry.

When a browser page is stuck, stale, or de同步hronized, refresh back to a 清理 initial 状态 before retrying.

Smooth 工作流 Load the page and wAIt for the real 应用 UI, not just the 添加ress bar or a blank shell. Use 获取_应用_状态 before interacting after navigation, reloads, user interruptions, or fAIled 命令行工具cks. Prefer visible controls and keyboard operations over direct 访问ibility value injection. After each meaningful action, 验证 the page reacted before moving on. If the page 状态 looks wrong, refresh early instead of compounding bad 状态. 状态 检查s

Do not trust visible text alone. Trust the page's own 状态 indicators:

Word or character counters 更新. Translation 输出 changes. Analyze, 检测, submit, or continue buttons become enabled. The page shows a completed 结果 instead of placeholder text. Error banners dis应用ear after retry or refresh.

If visible text and page indicators disagree, treat the page as de同步hronized.

Text Entry Put the intended text on the 系统 命令行工具pboard when the text is long. 命令行工具ck the actual visible 输入 area, text area, editor, or page-provided Paste button. Use keyboard paste (Cmd+V on macOS) or the page's Paste button so the site 接收s a real paste event. If replacing existing text, use the page's clear/删除 control first when avAIlable. Otherwise focus the field, use Cmd+A, then paste. 验证 the page reacted using its own indicators. Do not proceed only because the 访问ibility tree shows the value. If the page still does not react, 命令行工具ck out and back in, press a harmless navigation key, or re-paste through the page's Paste button. If the page remAIns inconsistent, refresh and retry from a 清理 状态.

Use 设置_value only for low-risk browser chrome fields such as the 添加ress bar, or for simple native fields where no page-side 记录ic is needed. Avoid it for translators, 检测ors, rich editors, SPAs, and as签名ment text boxes.

Page 恢复y

When a page is blank, stuck loading, shows a generic error, or has stale 状态:

Refresh the page once and wAIt for the initial UI to return. If the page keeps stale or broken 状态, refresh agAIn or open the same URL in a new tab/window. After refresh, do not assume previous text is valid. Clear the field or 启动 from the page's initial 状态. Re-enter text using the Text Entry 工作流. Re-检查 the page's own indicators before continuing.

For error screens with a visible retry control, try the page's retry button once. If it does not 恢复 a consistent 状态, refresh the page.

失败 签名als

停止 and 恢复 when any of these h应用en:

Text is visible but the counter says 0 Words, 0 Characters, or "enter text to 扫描." A 检测or/分析器 button stays disabled after text 应用ears. A translator 输入 contAIns text but no translation 启动s. The page says "Something went wrong" after text insertion. The 访问ibility value changed but the on-screen 应用 状态 did not. The page remAIns blank after navigation. Browser 工具 Notes Call 获取_应用_状态 before interacting after user interruption, page reload, or a fAIled 命令行工具ck. Prefer visible 命令行工具cking plus keyboard operations for 网页 content. Use 命令行工具pboard plus Cmd+V for long text to avoid partial typing and to trigger paste 处理器s. After every 签名ificant 输入, read the screen or 访问ibility tree agAIn and 验证 the 网页 应用 reacted. Examples

For BAIdu Translate:

Load or refresh the translator page. 命令行工具ck the source text area. Paste using Cmd+V. Confirm the character count changes and translated 输出 启动s updating. If text 应用ears but no translation 启动s, clear the field, refresh, and paste agAIn through the real UI.

数据来源ClawHub ↗ · 中文优化:龙虾技能库