What it means
A JSON protocol that lets debugging and automation clients control and inspect browser targets such as Chromium. Commands and events are grouped into domains including DOM, Network and Runtime.
CDP can be used for tasks such as observing the network, executing scripts, and manipulating pages. When connecting to a remote browser, the service usually provides a debug connection address; the available protocol fields and methods also depend on the browser and service implementation.
CDP addresses are not ordinary web page URLs, nor are they directly interchangeable with the collection API. After the connection is successful, page operations, wait conditions, data extraction, and session end behaviors still need to be defined.
Checked 2026-11-30: Browser Use managed browsers do not stop when CDP disconnects. Hypothetically, closing only the client after an error can leave an instance running and billed; call browsers.stop or the explicit stop endpoint in finally. This is a service-specific lifecycle, not a universal CDP billing rule.
In a scraping task
Let existing scripts connect to the cloud browser
An automation client that supports CDP connects to the debugging endpoint of the remote browser and then manipulates the page. During actual use, the compatibility of the client and browser should be checked, and the connection address with control permissions should be properly protected.
Common misconceptions
- Providing CDP connectivity does not mean that the service also provides ready-made data extraction rules.
- The fields and methods supported by different browsers or protocol versions are not necessarily the same.
References
Organized by Northleaf Studio. The source link retains the original address to facilitate continued reading.
- Chrome DevTools Protocol: Protocol documentation
Original data · Verified on 2026-11-19
- Browser Use
Original sources · Checked 2026-11-30