Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

cdp-browser

bởi gostlightai

Browser & Automation
521Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

CDP browser control at localhost:9222.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: take a screenshot of my current Gmail tab

AGENT
  1. 1

    Run status to list all open tabs and identify the Gmail tab ID

  2. 2

    Run snapshot <tabId> to capture a full-page PNG of that tab

  3. 3

    Return the screenshot file path to the user

ĐẦU RA

Full-page PNG screenshot of the Gmail tab saved locally

Yêu cầu

  • Chrome or Chromium running with --remote-debugging-port=9222 (or Docker Compose with remote debugging enabled)

Cài đặt

clawhub install gostlightai/cdp-browser

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết