Infrastructure & Scale/Advanced
Chrome DevTools Protocol (CDP)
Interacting directly with Chrome's native debugging port for advanced monitoring and low-level control.
Dependency Path
Requires:
Used By:
Environment Target
Compatibility: Chrome >= 110, nodriver >= 1.0
Last Reviewed: 2026-07-18
Recipes: 14 (9 cookbook / 5 playbook)
Why It Matters
Interacting directly with Chrome's native debugging port for advanced monitoring and low-level control.Also known as: devtools, cdp commands, websocket connection.
cdpchrome-devtoolslow-level
The Chrome DevTools Protocol allows direct instrument control, inspection, and manipulation of Chromium-based browsers. Connecting over WebSocket bypasses standard API detection limits.
Essential Operations
- Target Attachment: Attach to specific pages, frames, or service workers via unique CDP targets.
- Method Execution: Send JSON payload commands (
Runtime.evaluate,Page.addScriptToEvaluateOnNewDocument). - Event Subscriptions: Listen to network logs (
Network.requestWillBeSent) or console outputs.
Example Recipes
+8 more recipes in the knowledge base