कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

agent-browser

matrixy द्वारा

Clawdbot Tools
26.2kclawskills.sh द्वारा बताए गए डाउनलोड
66स्टार
18व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Headless browser automation CLI optimized for AI agents.

विवरण

यह स्किल क्या करती है

Headless browser automation CLI built for AI agent workflows. Takes accessibility tree snapshots of web pages and exposes interactive elements as stable refs (like @e2, @e3) for deterministic targeting. Supports isolated sessions, saved auth state, and network interception.

Ref-based element selection from accessibility tree snapshots avoids the fragility of CSS selectors and XPath that break when layouts change.

इसे कब इस्तेमाल करें

  • Automating multi-step web form submissions without brittle selectors
  • Running simultaneous admin and user browser sessions for testing
  • Scraping dynamic single-page apps that require JavaScript execution
  • Reusing saved login state to skip authentication on repeat runs
  • Mocking API responses during automated browser workflows

उदाहरण वर्कफ़्लो

इनपुट

User asks: search Google for 'AI agents' and return the first result link

एजेंट
  1. 1

    Run agent-browser open https://www.google.com

  2. 2

    Run agent-browser snapshot -i --json to get interactive element refs

  3. 3

    Identify search box ref from snapshot, run agent-browser fill @e1 "AI agents" then agent-browser press Enter

  4. 4

    Run agent-browser wait --load networkidle, then agent-browser snapshot -i --json again

  5. 5

    Run agent-browser get attr @e4 "href" --json to extract the first result URL

आउटपुट

Returns the href value of the first search result as JSON

आवश्यकताएँ

  • agent-browser CLI installed globally via npm install -g agent-browser

इंस्टॉलेशन

clawhub install matrixy/agent-browser-clawdbot

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक