agent-browser
यह क्या करती है
यह स्किल agent-browser कमांड-लाइन टूल से वेब पेज खोलती है, क्रियाएँ करती है और जो दिखता है उसकी जाँच करती है। यह उन लोगों के लिए है जिन्हें पक्का करना है कि वेबसाइट उपयोगकर्ता के अनुभव के अनुसार काम करती है।
कब इस्तेमाल करें
- ✓जब आप जाँचना चाहते हैं कि कोई वेब पेज या एडमिन स्क्रीन असली ब्राउज़र में सही व्यवहार करती है।
- ✓जब आपको किसी क्रिया के बाद पेज कैसा दिखता है, इसके सबूत के लिए स्क्रीनशॉट चाहिए।
- ✓जब आप क्लिक या फ़ॉर्म सबमिट करने के बाद अपेक्षित नतीजा दिखने की पुष्टि करना चाहते हैं।
Skill का लिंक
https://github.com/emdash-cms/emdash/blob/main/skills/agent-browser/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप मेरी साइट का लॉगिन पेज ब्राउज़र में खोल सकते हैं, लॉगिन कर सकते हैं, और डैशबोर्ड का स्क्रीनशॉट ले सकते हैं?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट एक नामित ब्राउज़र सेशन में पेज खोलता है, पेज की संरचना पढ़ता है, क्रिया करता है, फिर नई स्थिति और कंसोल एरर जाँचता है। रास्ते में स्क्रीनशॉट भी ले सकता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Test interfaces with agent-browser
Use the installed agent-browser CLI for rendered, user-facing verification. Load its version-matched instructions before relying on command syntax:
agent-browser skills get core --full
Use a specialized bundled guide when the target requires one. agent-browser skills list shows the available guides.
Verification loop
- Start or identify the target application and record the exact URL and viewport.
- Open the page in a named session.
- Take an accessibility snapshot and identify controls by role, label, or snapshot reference.
- Perform the user action.
- Wait for the resulting state, then take a fresh snapshot. References can become stale after navigation or a substantial DOM update.
- Verify the observable result, console errors, and relevant network behavior.
- Capture screenshots when visual evidence helps establish the result.
For EmDash admin testing, authenticate through the development bypass rather than attempting to automate passkeys:
agent-browser open 'http://localhost:4321/_emdash/api/setup/dev-bypass?redirect=/_emdash/admin'
Use auth/dev-bypass instead when setup is already complete.
Interaction guidance
- Prefer role and label locators when they express the user-facing control clearly. Use snapshot references for efficient exploration.
- Re-snapshot after a dialog opens, a route changes, or content is replaced.
- Wait for a selector or visible state instead of adding a fixed delay unless timing itself is under test.
- Use a named session for flows that depend on cookies or storage. Close sessions that are no longer needed.
- Check
agent-browser consoleandagent-browser errorswhen the UI behaves unexpectedly. - Use
agent-browser network requestswhen the result depends on a request or response boundary.
Evidence
Record the path tested, inputs, viewport, expected result, actual result, and any console or request failures. For UI changes, capture before-and-after screenshots of every affected screen.
Save screenshots inside the task workspace with descriptive filenames. Inspect the saved image before reporting success; a completed screenshot command does not prove that the intended state was visible.
Browser exploration does not replace a regression test when stable automated coverage can protect the behavior. Convert a confirmed defect into the narrowest meaningful automated test when the task includes implementation.
अक्सर पूछे जाने वाले सवाल
क्या यह स्वचालित टेस्ट की जगह लेती है?
नहीं। दोहराने योग्य regression टेस्ट के लिए एक नियतात्मक टेस्ट सूट बेहतर विकल्प है।
यह पेज पर बटन कैसे ढूँढती है?
यह पेज की accessibility जानकारी पढ़ती है, और लेबल व roles से नियंत्रण ढूँढती है।
क्या यह एरर दिखा सकती है?
हाँ। सत्यापन के हिस्से के रूप में यह कंसोल एरर और संबंधित नेटवर्क व्यवहार जाँचती है।
जानकारी
लेखक का मूल विवरण
Use the agent-browser CLI to exercise web interfaces, inspect rendered accessibility state, verify interactions, and capture screenshots. Use for browser-based UI testing and evidence collection. Do not use as a substitute for deterministic Playwright coverage when an automated regression test is the requested deliverable.
repo: emdash-cms/emdash
लोकप्रियता
- GitHub स्टार
- 14k
- रैंकिंग में स्थान
- #11245
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
adversarial-reviewer
14kयह आपके एजेंट को कोड बदलाव में छिपे बग और असुरक्षित मान्यताएँ खोजने में मदद करती है, जब आप इसे माँगें तो सामान्य समीक्षा से आगे जाकर।
building-emdash-site
14kयह आपके एजेंट को Astro पर EmDash CMS प्रोजेक्ट का साइट वाला हिस्सा बनाने में मदद करती है, जिसमें कंटेंट, schema, मेन्यू, taxonomies और डिप्लॉयमेंट शामिल हैं।
creating-plugins
14kयह आपके एजेंट को EmDash CMS के लिए प्लगइन बनाने में मदद करती है, जिसमें सुरक्षित hooks, routes, स्टोरेज और एडमिन इंटरफ़ेस हों।
emdash-cli
14kयह आपके एजेंट को कमांड लाइन से EmDash साइट संभालने देती है, जिसमें कंटेंट, मीडिया, मेन्यू, migrations और पूरी साइट का एक्सपोर्ट या इम्पोर्ट शामिल है।
मिलती-जुलती skills
test-driven-development
311kयह आपके एजेंट को किसी भी फ़ीचर या सुधार से पहले पहले असफल होने वाला टेस्ट लिखना, उसे असफल होते देखना, फिर पास करने वाला सबसे छोटा कोड लिखना सिखाती है।
verification-before-completion
311kयह आपके एजेंट को किसी काम, सुधार या build के पूरा या पास होने का दावा करने से पहले असली जांच चलाकर उसका आउटपुट पढ़ना सिखाती है।
migrate-to-shoehorn
310kआपकी टेस्ट फ़ाइलों में जोखिम भरे type casts की जगह shoehorn लाइब्रेरी लगाती है, ताकि टेस्ट अधूरे डेटा से भी type checks पास कर सकें।