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

chrome-devtools

bởi podcasting101

Web & Frontend Development
755Lượ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

Uses Chrome DevTools via MCP for efficient debugging, troubleshooting and browser automation.

Mô tả

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

Controls Chrome via the Chrome DevTools Protocol through an MCP server. Supports navigating pages, interacting with DOM elements, running JavaScript, capturing screenshots, and analyzing network requests. The browser starts automatically and maintains a persistent profile across tool calls.

Gives agents direct access to a live browser without requiring a separate Playwright or Selenium setup.

Khi nào nên dùng

  • Debug a broken form that fails silently in production
  • Scrape data from a JavaScript-rendered page
  • Trace slow network requests to find a bottleneck
  • Automate a multi-step login flow for testing
  • Inspect DOM structure to fix a layout regression

Quy trình ví dụ

ĐẦU VÀO

User asks: Why is the checkout button not responding on my e-commerce page?

AGENT
  1. 1

    Call navigate_page to open the checkout page

  2. 2

    Call wait_for to confirm the page is fully loaded

  3. 3

    Call take_snapshot to map the page structure and locate the button uid

  4. 4

    Call evaluate_script to check for JavaScript errors or missing event listeners on the button

  5. 5

    Report the console errors and handler state back to the user

ĐẦU RA

Identifies that a missing script dependency is preventing the click handler from attaching

Yêu cầu

  • Google Chrome browser installed

Cài đặt

clawhub install podcasting101/chrome-devtools

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