browserwing-executor
ما الذي تفعله
يمنح وكيل الذكاء الاصطناعي الأوامر اللازمة للتحكم في متصفح يعمل عبر HTTP. وهي مناسبة لمن يريد أن ينفذ وكيله مهام الويب خطوة بخطوة.
متى تستخدمها
- ✓عندما تريد أن يفتح وكيلك صفحة، ثم ينقر عليها أو يكتب فيها أو يختار منها.
- ✓عندما تحتاج إلى سحب نص أو قيم من صفحة ويب.
- ✓عندما تريد لقطات شاشة أو تشغيل مجموعة من الخطوات بالترتيب.
رابط المهارة
https://github.com/MemTensor/MemOS/blob/main/apps/memos-local-openclaw/skill/browserwing-executor/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“افتح صفحة الأسعار، واقرأ أسماء الباقات وأسعارها، وخذ لقطة شاشة.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يطلب الوكيل أولا من واجهة البرمجة قائمة الأوامر، ثم يقرأ لقطة لبنية إمكانية الوصول في الصفحة. بعد ذلك ينفذ إجراءات مثل النقر أو الاستخراج على العناصر التي وجدها.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
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
الأسئلة الشائعة
هل يحتاج الوكيل إلى قائمة الأوامر أولا؟
نعم. تقول المهارة إنه يجب استدعاء نقطة المساعدة أولا لرؤية كل الأوامر المتاحة ومعاملاتها.
كيف يسجّل الدخول إلى واجهة البرمجة؟
تُرسل الطلبات مفتاح API في ترويسة، أو رمز Bearer.
هل يمكنه تنفيذ عدة إجراءات دفعة واحدة؟
نعم. تدعم المعالجة بالدفعات، وتنفذ عدة عمليات بالتسلسل.
التفاصيل
الوصف الأصلي من المؤلف
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
الشعبية
- نجوم GitHub
- 12k
- الترتيب
- #11399
- الترخيص
- Apache-2.0
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
memos-local
12kيساعد وكيلك على تثبيت MemOS، وهو إضافة ذاكرة محلية لـ OpenClaw، ليتذكر المحادثات السابقة على جهازك.
browserwing-admin
12kيساعد وكيلك على تثبيت BrowserWing، وهو أداة أتمتة للمتصفح، وإدارته، بما في ذلك إنشاء نصوص الأتمتة وتشغيلها وإصلاحها.
memos-memory-guide
12kيعلّم وكيلك أن يبحث في محادثاتك السابقة وفي ذاكرة الفريق المشتركة عندما تشير إلى محادثات قديمة أو تفضيلاتك أو قراراتك السابقة.
ask-user-question
12kيتيح لوكيلك فتح صندوق أسئلة داخل التطبيق ليسألك عن اختيار أو تفضيل أو موافقة قبل أن يكمل المهمة.
مهارات مشابهة
test-driven-development
311kيعلّم وكيلك كتابة اختبار فاشل أولًا، ثم رؤيته يفشل، ثم كتابة أصغر شيفرة تنجحه، قبل بناء أي ميزة أو إصلاح.
verification-before-completion
311kيعلّم وكيلك تشغيل فحوصات حقيقية وقراءة نتائجها قبل أن يقول إن المهمة أو الإصلاح أو البناء مكتمل أو ناجح.
migrate-to-shoehorn
310kيستبدل تأكيدات النوع الخطرة في ملفات الاختبار بمكتبة shoehorn، حتى تتمكن الاختبارات من استخدام بيانات جزئية وتجتاز فحوص الأنواع.