wuying-browser-use

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Wuying Browser Use

Wuying Browser Use

自动化浏览器操作,支持网页导航、表单填写、数据提取等任务。
Automated browser operations, supporting tasks such as web navigation, form filling, and data extraction.

依赖

Dependencies

bash
python3 -m pip install wuying-agentbay-sdk
bash
python3 -m pip install wuying-agentbay-sdk

使用方法

Usage

bash
python3 scripts/browser-use.py "<任务执行步骤>"
bash
python3 scripts/browser-use.py "<Task execution steps>"

功能特性

Features

  • ✅ 网页导航和点击
  • ✅ 表单填写和提交
  • ✅ 数据提取和抓取
  • ✅ 网页截图
  • ✅ 搜索和浏览
  • ✅ 支持中英文指令
  • ✅ Web navigation and clicking
  • ✅ Form filling and submission
  • ✅ Data extraction and scraping
  • ✅ Web page screenshots
  • ✅ Search and browsing
  • ✅ Supports Chinese and English instructions

常用场景

Common Scenarios

电商信息收集

E-commerce Information Collection

bash
python3 scripts/browser-use.py "访问京东搜索iPhone,提取前5个商品价格"
bash
python3 scripts/browser-use.py "访问京东搜索iPhone,提取前5个商品价格"

新闻监控

News Monitoring

bash
python3 scripts/browser-use.py "打开新浪新闻,获取今日头条"
bash
python3 scripts/browser-use.py "打开新浪新闻,获取今日头条"

社交媒体

Social Media

bash
python3 scripts/browser-use.py "访问微博热搜榜,提取前10个话题"
bash
python3 scripts/browser-use.py "访问微博热搜榜,提取前10个话题"

使用技巧

Usage Tips

  1. 指令要具体明确 - 说清楚要访问哪个网站,做什么操作
  2. 一次一个任务 - 复杂流程拆分成多个命令
  3. 描述性语言 - 详细描述要提取的内容或点击的元素
  1. Be specific with instructions - Clearly state which website to visit and what actions to perform
  2. One task at a time - Split complex processes into multiple commands
  3. Descriptive language - Detail the content to extract or elements to click

注意事项

Notes

  • 每次命令独立运行,不保持会话状态
  • 某些网站可能限制自动化访问
  • 指令不明确可能导致非预期结果
  • 每次执行需要1~2分钟,会不断产生中间结果,不要提前杀死进程,也不要重试
  • skill调用后,控制台会打印出asp流化链接(可视化的url),可告知用户查看
  • Each command runs independently and does not maintain session state
  • Some websites may restrict automated access
  • Unclear instructions may lead to unexpected results
  • Each execution takes 1~2 minutes, and intermediate results are continuously generated. Do not kill the process early or retry
  • After calling the skill, the console will print an ASP streaming link (visualization URL), which can be shared with users for viewing