browser-automation
यह क्या करती है
यह AI एजेंट को OpenClaw के browser टूल से कई चरणों वाले काम करना दिखाती है, जैसे फ़ॉर्म भरना या लॉगिन जांचना। यह उन सभी के लिए है जो चाहते हैं कि एजेंट उनके लिए किसी वेबसाइट पर काम करे।
कब इस्तेमाल करें
- ✓जब आप चाहते हों कि आपका एजेंट कोई वेबसाइट खोले और उस पर कई चरण पूरे करे।
- ✓जब किसी कार्रवाई से पहले आपको जांचना हो कि आप किसी साइट में साइन इन हैं या नहीं।
- ✓जब कोई browser काम रुक जाए या कोई पेज एलिमेंट अब न मिले।
Skill का लिंक
https://github.com/openclaw/openclaw/blob/main/extensions/browser/skills/browser-automation/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरा ऑनलाइन स्टोर डैशबोर्ड खोलिए, देखिए कि आज के ऑर्डर लिस्ट में हैं या नहीं, और कुल संख्या बताइए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल पहले browser की स्थिति जांचती है, सही टैब पर नज़र रखती है, और क्लिक करने से पहले पेज पढ़ती है। अगर कोई चरण टाइम आउट हो या एलिमेंट पुराना पड़ जाए, तो वह अपना व्यू ताज़ा करके फिर से कोशिश करती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Browser Automation
Use this skill when you need the browser tool for anything beyond a single page check.
Operating Loop
- Check browser state before acting:
openclaw browser doctororaction="status"when the browser/plugin setup itself may be broken.action="status"for availability.action="profiles"if login state or profile choice matters.action="tabs"before opening a new tab if retries/timeouts may have left windows behind.
- Prefer stable tab handles:
- Open important tabs with
label, for examplelabel="meet". - After
action="tabs"oraction="open", storesuggestedTargetIdand pass it astargetIdin later calls. suggestedTargetIdis the label when one exists, otherwise the stabletabIdhandle liket1.- Avoid relying on raw DevTools
targetIdexcept for immediate diagnostics; it can change under Chromium target replacement.
- Open important tabs with
- Read before you click:
- For “read the page and answer X,” use
action="text"with optionalselectorandmaxCharsfor bounded visible prose (first selector match, otherwise article/main/body). On existing-session profiles, usesnapshotinstead. Efficient snapshots omit most prose. - For virtualized lists, scroll through each segment, capture only the relevant rows, then merge the results.
- Use
action="snapshot"on the intendedtargetId. - Add snapshot
queryto find lines containing all query tokens, ignoring case; matching lines keep their refs. - Use the same
targetIdfor follow-up actions so refs stay on the same tab. - For durable Playwright refs, request
refs="aria"when supported. If you receiveaxNrefs fromsnapshotFormat="aria", use them only after that same snapshot call; stale or unboundaxNrefs fail fast and need a fresh snapshot. - Use
urls=truewhen link text is ambiguous or a direct navigation target would avoid brittle clicks. - Use
labels=trueon snapshot or screenshot when visual position matters. On Playwright-backed profiles, the response includes anannotationsarray ({ref, number, role, name?, box}) with each ref's bounding box in the captured image's coordinate space, so you can reason about position without re-snapshotting; screenshot labels can also combine withfullPage=true(CLI:--full-page) to label the whole document, orref/elementto clip to one element.profile="user"and other existing-session (chrome-mcp) profiles render an overlay into page screenshots but do not attachannotationsor use the Playwright full-page/ref/element projection helper, so read positions from the labeled image itself on those profiles. The raw-CDP fallback (no Playwright) does not support labeled screenshots at all and returns a 501, so only requestlabelswhen Playwright is available.
- For “read the page and answer X,” use
- Act narrowly:
- Prefer
action="act"with a ref from the latest snapshot. navigatereturns the loaded page's compact snapshot inline, and batchactresults that report a cross-document navigation include fresh page state; use those refs directly instead of a follow-up snapshot call.- After a single act that triggers navigation, and after modal changes or form submissions, snapshot again before the next action.
- Avoid blind waits. Wait for visible UI state when possible.
- Use
action="emulate"withdevice,colorScheme,timezoneId, orlocalewhen testing those settings; snapshot again afterward. Existing-session profiles do not support emulation.
- Prefer
- Report real blockers:
- Debug network failures with
action="requests", optional URL/typefilter, andlimit(default 50 recent entries).clear=trueclears the collected log after reading. Use a managed profile; existing-session profiles do not support this log. - Debug page errors with
action="errors"andlimit(default 50 recent entries).clear=trueclears the collected log after reading. Existing-session profiles do not support this log. - If the page needs login, permission, captcha, 2FA, camera/microphone approval, or another manual step, stop and tell the user exactly what is needed.
- Do not claim the browser is not logged in just because the current page shows a permission or onboarding dialog. Inspect the visible UI first.
- Debug network failures with
Browser batch CLI
openclaw browser batch runs an array of nested /act actions in one /act call (the same kind="batch" runtime reached through the agent tool), so CLI users and scripts can combine actions lik
अक्सर पूछे जाने वाले सवाल
क्या यह मेरे लॉगिन सेव रखती है?
यह लॉगिन स्थिति जांच सकती है और browser प्रोफ़ाइल चुन सकती है, इसलिए जिन साइट्स में आप साइन इन हैं, वे साइन इन रह सकती हैं।
अगर किसी गड़बड़ी के बाद टैब खुला रह जाए तो क्या होगा?
स्किल पहले खुले टैब की सूची देखती है, ताकि नया टैब खोलने के बजाय सही टैब दोबारा इस्तेमाल कर सके।
क्या यह लंबे पेज पढ़ सकती है?
हां। यह पेज से सीमित मात्रा में टेक्स्ट पढ़ सकती है और लंबी सूचियों पर भागों में काम करती है।
जानकारी
लेखक का मूल विवरण
Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.
repo: openclaw/openclaw
लोकप्रियता
- GitHub स्टार
- 394k
- रैंकिंग में स्थान
- #14
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
discord-user-post
394kयह आपके एजेंट को, आपकी मंज़ूरी के बाद, चैनल की पुष्टि करके आपके नाम से Discord डेस्कटॉप ऐप के ज़रिए संदेश भेजने देती है।
discrawl
394kयह आपके एजेंट को Discord संदेशों के सेव किए गए स्थानीय आर्काइव में खोजने, उसका सारांश बनाने और उसकी ताज़गी जांचने में मदद करती है।
gitcrawl
394kयह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।
graincrawl
394kयह आपके एजेंट को सेव की गई Granola मीटिंग नोट्स और ट्रांसक्रिप्ट में खोजने, उनकी ताज़गी जांचने और किसी अवधि के हिसाब से गिनती करने देती है।
मिलती-जुलती skills
using-superpowers
311kयह आपके एजेंट को कोई काम शुरू करने से पहले सही स्किल खोजने और इस्तेमाल करने में मदद करती है, ताकि वह उस तरह के काम के सिद्ध चरणों का पालन करे।
ask-matt
310kयह आपके एजेंट को कोडिंग स्किल के एक सेट का मार्गदर्शक बनाती है, जो आपकी स्थिति के लिए सही स्किल की ओर इशारा करता है, विचार से लेकर भेजे गए कोड तक।
retro
310kकिसी कोडिंग सेशन को पीछे मुड़कर देखती है और सेटअप में बदलाव सुझाती है, जैसे साफ़ नेविगेशन या स्वचालित जांचें, ताकि भविष्य के एजेंट रन सुचारु चलें।