跳到正文
TakoAPI
返回技能列表

chrome-devtools

由 podcasting101 提供

Web & Frontend Development
755下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

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

智能体
  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

输出

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

前置要求

  • Google Chrome browser installed

安装

clawhub install podcasting101/chrome-devtools

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接