Automation and AI

Chrome DevTools Protocol (CDP)

Also called CDP, DevTools Protocol, remote debugging, wsEndpoint, remote-debugging-port

Definition

The Chrome DevTools Protocol (CDP) is the interface Chromium-based browsers expose for debugging and control, a set of commands and events sent as JSON over a WebSocket, which DevTools, Puppeteer and many automation tools use.

Last updated 7 November 2026

How it works

Start Chromium with a remote debugging port and it accepts WebSocket connections. A client sends commands grouped in domains, such as Page.navigate, Runtime.evaluate, Network.setCookie or Emulation.setTimezoneOverride, and receives events back. The browser-level WebSocket address, often called the wsEndpoint, is what libraries like Puppeteer connect to. The same protocol powers the DevTools panel itself.

Why it matters when you run several accounts

CDP is how most tools automate Chromium and how many apps set a profile’s values. It is also observable. Some commands, such as enabling the Runtime domain, have side effects a page can notice, and anti-bot scripts probe for them. The less an outside tool does over CDP while a page is loaded, the less there is to notice.

How SoftGlaze Browser handles it

SoftGlaze Browser drives Chromium profiles over CDP through Puppeteer, and sets values such as the user agent, Client Hints, language, time zone and geolocation on every page, popup and worker as it starts. Each profile gets a fixed DevTools port. The local API’s start request returns the profile’s wsEndpoint so your own Puppeteer code can attach. From version 1.0.22, SoftGlaze AI (Beta) adds an Expert tool, off by default, that hands a running profile’s endpoint to Playwright, Puppeteer or Chrome DevTools, with a warning that an outside debugger is detectable and an approval every time.

Sources

  1. Chrome DevTools ProtocolGoogle (GitHub)
  2. Puppeteer: connect to an existing browserPuppeteer

Outside sources were checked in November 2026. Browsers, standards and vendors' pages change, so details that depend on them are as of that month.

Read more on this site

See it in SoftGlaze Browser

Separate profiles, each with its own cookies, device values and proxy, on Windows. Try the app's screens in your browser first, or start the free trial; no card needed.