Chrome DevTools Protocol
Also written: CDP
A protocol for tools to inspect, debug, and automate web browsers, including controlling browser actions.
The Chrome DevTools Protocol is like a secret language that lets programs talk to and control a web browser. Think of it as a remote control for your browser. It allows software to see what a webpage is doing, find errors, and even perform actions like clicking buttons or filling out forms.
This is useful for developers who want to test their websites automatically or for tools that need to interact with the web on your behalf. For example, an AI assistant could use this protocol to open a specific website, find information, and then summarize it for you, all without you needing to manually navigate the browser.
The Chrome DevTools Protocol (CDP) is a set of APIs that enables tools to instrument, inspect, debug, and profile Chrome, Chromium-based browsers, and related applications. It operates over a WebSocket connection, allowing bidirectional communication between a client (e.g., a testing framework or an AI agent) and the browser. CDP exposes domains for various browser functionalities like DOM manipulation, network interception, performance profiling, and execution of JavaScript.
Its primary use cases include automated testing, performance analysis, and browser automation. For AI agents, CDP provides a robust mechanism to interact with web content and perform complex user-like actions, bridging the gap between AI capabilities and real-world web interactions.
AI agents are increasingly able to control web browsers to perform complex tasks. The Chrome DevTools Protocol is a key technology enabling this control, allowing AI to interact with web pages and applications programmatically. This makes it easier for AI to automate browsing, fill forms, and extract information.
- How voice AI agents control your browserGoogle · Google Cloud Tech on YouTube ·
- Google Gemini
- Google Gemini uses the Chrome DevTools Protocol to enable AI voice agents to control web browsers for tasks like automating complex actions.
- WebSockets
- A communication protocol providing full-duplex communication channel
- Developer Tools
- The user interface within a browser for debugging and inspectin
- APIs
- A general term for a set of rules and protocols that allows different soft
The Chrome DevTools Protocol originated with the Google Chrome browser's built-in developer tools. It was developed internally by Google to provide programmatic access to the browser's debugging and inspection capabilities. Source ↗
You can explore CDP by opening Chrome's Developer Tools (F12), going to the 'Console' tab, and typing commands like `console.log('Hello from CDP!')`. For more advanced use, you could try a tool like Puppeteer (a Node.js library) to programmatically launch Chrome, navigate to a page, and take a screenshot.
The Playbook: reusable how-tos, prompts, configs and tips pulled out of the news.
- ToolChrome DevTools Protocol for browser automationControl Chrome or Edge browsers programmatically for debugging and automation tasks. · 30 min
- PromptRole-play a student struggling with math for AI tutor simulationSimulate a student's math struggles and uncertainty for AI tutor evaluation. · 5 min
- TemplateReusable workflow templates for healthcare teamsTeams can create and share templates for common workflows like documentation or prior authorizations. · 15 min
- TemplateTemplate for building an AI tool tailored to your workA structured approach to defining and building a custom AI tool for specific business needs. · 15 min
- TemplateEvals CSV prompt list for agent skillsA CSV file template for listing prompts used in evaluating agent skills. · 20 min
Questions people ask
- How do AI agents use the Chrome DevTools Protocol?
- AI agents use CDP to send commands to the browser, such as navigating to URLs, clicking elements, extracting text, and filling forms, allowing them to interact with websites.
- Is the Chrome DevTools Protocol only for Chrome?
- While developed for Chrome, the protocol is also supported by other Chromium-based browsers like Microsoft Edge, and can be used with headless browser instances.
First seen on Subvolts Oct 7, 2026. Updated Oct 14, 2026. Written by an AI model from the items above and reviewed against them weekly; report an error.

