Перейти к содержимому
TakoAPI
Назад к навыкам

cdp-browser

от gostlightai

Browser & Automation
521Число загрузок по данным clawskills.sh
0Просмотры
0 лайковВойдите, чтобы поставить лайк навыку
—Ещё нет оценок
Ваша оценка

Кратко

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. 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

ВЫВОД

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-browser

Выполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.

Ссылки