cdp-browser
gostlightai द्वारा
Browser & Automationसंक्षिप्त
CDP browser control at localhost:9222.
विवरण
यह स्किल क्या करती है
CLI tool for controlling Chrome/Chromium via the Chrome DevTools Protocol (CDP) at localhost:9222. Supports tab inspection, navigation, screenshots, scrolling, JS execution, and posting to X in a persistent browser session.
Reuses an already-authenticated browser session instead of requiring login automation or stored credentials in each script.
इसे कब इस्तेमाल करें
- Taking a full-page screenshot of a logged-in dashboard
- Posting a tweet from a pre-authenticated X session
- Navigating to a URL and extracting element text
- Scrolling a page to trigger lazy-loaded content
- Dismissing popups blocking automated page interaction
उदाहरण वर्कफ़्लो
User asks: take a screenshot of my current Gmail tab
- 1
Run
statusto list all open tabs and identify the Gmail tab ID - 2
Run
snapshot <tabId>to capture a full-page PNG of that tab - 3
Return the screenshot file path to the user
Full-page PNG screenshot of the Gmail tab saved locally
आवश्यकताएँ
- Chrome or Chromium running with --remote-debugging-port=9222 (or Docker Compose with remote debugging enabled)
इंस्टॉलेशन
clawhub install gostlightai/cdp-browserCLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।