browserwing-executor
Skill này làm gì
Skill cho agent AI các lệnh để điều khiển một trình duyệt đang chạy qua HTTP. Skill dành cho người muốn agent thực hiện các tác vụ web từng bước.
Khi nào nên dùng
- ✓Khi bạn muốn agent mở một trang, rồi nhấp, gõ hoặc chọn trên đó.
- ✓Khi bạn cần lấy văn bản hoặc giá trị từ một trang web.
- ✓Khi bạn muốn chụp màn hình hoặc chạy một loạt bước theo thứ tự.
Liên kết skill
https://github.com/MemTensor/MemOS/blob/main/apps/memos-local-openclaw/skill/browserwing-executor/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Mở trang giá, đọc tên gói và giá, rồi chụp một ảnh màn hình.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent trước tiên hỏi API danh sách lệnh của nó, rồi đọc snapshot trợ năng của trang. Sau đó agent chạy các hành động như nhấp hoặc trích xuất trên các phần tử đã tìm thấy.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
BrowserWing Executor API
Overview
BrowserWing Executor provides comprehensive browser automation capabilities through HTTP APIs. You can control browser navigation, interact with page elements, extract data, and analyze page structure.
API Base URL: http://localhost:8080/api/v1/executor
Authentication: Use X-BrowserWing-Key: <api-key> header or Authorization: Bearer <token>
Core Capabilities
- Page Navigation: Navigate to URLs, go back/forward, reload
- Element Interaction: Click, type, select, hover on page elements
- Data Extraction: Extract text, attributes, values from elements
- Accessibility Analysis: Get accessibility snapshot to understand page structure
- Advanced Operations: Screenshot, JavaScript execution, keyboard input
- Batch Processing: Execute multiple operations in sequence
API Endpoints
1. Discover Available Commands
IMPORTANT: Always call this endpoint first to see all available commands and their parameters.
curl -X GET 'http://localhost:8080/api/v1/executor/help'
Response: Returns complete list of all commands with parameters, examples, and usage guidelines.
Query specific command:
curl -X GET 'http://localhost:8080/api/v1/executor/help?command=extract'
2. Get Accessibility Snapshot
CRITICAL: Always call this after navigation to understand page structure and get element RefIDs.
curl -X GET 'http://localhost:8080/api/v1/executor/snapshot'
Response Example:
{
"success": true,
"snapshot_text": "Clickable Elements:\n @e1 Login (role: button)\n @e2 Sign Up (role: link)\n\nInput Elements:\n @e3 Email (role: textbox) [placeholder: your@email.com]\n @e4 Password (role: textbox)"
}
Use Cases:
- Understand what interactive elements are on the page
- Get element RefIDs (@e1, @e2, etc.) for precise identification
- See element labels, roles, and attributes
- The accessibility tree is cleaner than raw DOM and better for LLMs
- RefIDs are stable references that work reliably across page changes
3. Common Operations
Navigate to URL
curl -X POST 'http://localhost:8080/api/v1/executor/navigate' \
-H 'Content-Type: application/json' \
-d '{"url": "https://example.com"}'
Click Element
curl -X POST 'http://localhost:8080/api/v1/executor/click' \
-H 'Content-Type: application/json' \
-d '{"identifier": "@e1"}'
Identifier formats:
- RefID (Recommended):
@e1,@e2(from snapshot) - CSS Selector:
#button-id,.class-name - XPath:
//button[@type='submit'] - Text:
Login(text content)
Type Text
curl -X POST 'http://localhost:8080/api/v1/executor/type' \
-H 'Content-Type: application/json' \
-d '{"identifier": "@e3", "text": "user@example.com"}'
Extract Data
curl -X POST 'http://localhost:8080/api/v1/executor/extract' \
-H 'Content-Type: application/json' \
-d '{
"selector": ".product-item",
"fields": ["text", "href"],
"multiple": true
}'
Wait for Element
curl -X POST 'http://localhost:8080/api/v1/executor/wait' \
-H 'Content-Type: application/json' \
-d '{"identifier": ".loading", "state": "hidden", "timeout": 10}'
Batch Operations
curl -X POST 'http://localhost:8080/api/v1/executor/batch' \
-H 'Content-Type: application/json' \
-d '{
"operations": [
{"type": "navigate", "params": {"url": "https://example.com"}, "stop_on_error": true},
{"type": "click", "params": {"identifier": "@e1"}, "stop_on_error": true},
{"type": "type", "params": {"identifier": "@e3", "text": "query"}, "stop_on_error": true}
]
}'
Instructions
Step-by-step workflow:
Discover commands: Call
GET /helpto see all available operations and their parameters (do this first if unsure).Navigate: Use
POST /navigateto open the target webpage.Analyze page: Call
GET /snapshotto understand page structure and get element RefIDs.Interact: Use element RefIDs (like
@e1,@e2) or CSS selectors to:- Click elements:
POST /click - Input text:
POST /type - Select options:
POST /select - Wait for elements:
POST /wait
- Click elements:
Extract data: Use
POST /extractto get information from the page.Present results: Format and show extracted data to the user.
Complete Example
User Request: "Search for 'laptop' on example.com and get
Câu hỏi thường gặp
Agent có cần danh sách lệnh trước không?
Có. Skill yêu cầu gọi endpoint trợ giúp trước để xem mọi lệnh có sẵn và tham số của chúng.
Nó đăng nhập vào API bằng cách nào?
Yêu cầu dùng API key trong header hoặc bearer token.
Nó có chạy nhiều hành động cùng lúc không?
Có. Nó hỗ trợ xử lý hàng loạt, chạy nhiều thao tác theo thứ tự.
Chi tiết
Mô tả gốc của tác giả
Control browser automation through HTTP API. Supports page navigation, element interaction (click, type, select), data extraction, accessibility snapshot analysis, screenshot, JavaScript execution, and batch operations.
repo: MemTensor/MemOS
Độ phổ biến
- Sao GitHub
- 12k
- Vị trí xếp hạng
- #11399
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
memos-local
12kGiúp agent của bạn cài đặt và thiết lập MemOS, một plugin bộ nhớ cục bộ cho OpenClaw, để nó nhớ các cuộc trò chuyện trước trên thiết bị của bạn.
browserwing-admin
12kGiúp agent của bạn cài đặt và quản lý BrowserWing, một công cụ tự động hóa trình duyệt, gồm tạo, chạy và sửa các script tự động hóa.
memos-memory-guide
12kDạy agent của bạn tìm trong các cuộc trò chuyện trước và bộ nhớ nhóm được chia sẻ khi bạn nhắc đến chat cũ, sở thích hoặc quyết định trước.
ask-user-question
12kCho phép agent của bạn mở một hộp câu hỏi trong ứng dụng để hỏi bạn về một lựa chọn, sở thích hoặc sự phê duyệt trước khi tiếp tục tác vụ.
Skill tương tự
test-driven-development
311kDạy agent của bạn viết kiểm thử thất bại trước, xem nó thất bại, rồi viết đoạn mã ngắn nhất để vượt qua trước khi làm bất kỳ tính năng hay bản sửa nào.
verification-before-completion
311kDạy agent của bạn chạy kiểm tra thực tế và đọc kết quả đầu ra trước khi khẳng định một việc, bản sửa hoặc bản build đã hoàn thành hay vượt qua.
migrate-to-shoehorn
310kThay các ép kiểu rủi ro trong tệp kiểm thử bằng thư viện shoehorn, để các bài kiểm thử dùng dữ liệu một phần vẫn qua được kiểm tra kiểu.