Chrome DevTools Protocol (CDP)

Chrome DevTools Protocol

Definition

The automation protocol used to control Chrome/Chromium browsers programmatically. It enables remote control of browser instances but leaks state about being programmatically controlled through window attributes and page.evaluate() commands, making automated interactions detectable.

Examples in the Wild

  • Example 1:Puppeteer uses CDP for browser automation
  • Example 2:Playwright can use CDP as a backend
  • Example 3:Selenium WebDriver uses CDP in Chrome mode