CDP Attach is a comprehensive browser automation and debugging skill for Claude Code that leverages the Chrome DevTools Protocol (CDP). It enables Claude to interact with live, visible browser sessions to perform tasks like clicking elements, filling forms, capturing screenshots, and monitoring network traffic. Ideal for developers needing to verify UI states, debug API responses, or automate workflows within a browser, it provides a robust toolkit for inspecting both the DOM and the accessibility tree while providing a reliable bridge between the terminal and the browser.
主要功能
01High-fidelity screenshot capture and accessibility tree snapshots
021 GitHub stars
03Live network traffic monitoring and console log inspection
04Real-time browser interaction and element discovery using CSS, XPath, or ARIA roles
05Mobile device emulation and performance tracing capabilities
06Advanced JavaScript execution with automatic variable rewriting and promise support
使用场景
01Conducting automated accessibility audits and performance tracing on live web pages
02Debugging complex Single Page Application (SPA) state transitions and network requests
03Automating multi-step form submissions and performing visual regression verification