Table of Contents

Introduction

Selenium.WebDriver.BiDi.Cdp brings the Chrome DevTools Protocol (CDP) to .NET on top of the WebDriver BiDi transport, so you can drive low-level browser capabilities directly from Selenium WebDriver.

Why it exists

Classic CDP access relied on a separate DevTools connection that was tied to a specific Chrome version. By tunnelling CDP over WebDriver BiDi, this library reuses the existing WebDriver session — no extra endpoints, no version-pinned DevTools clients.

What you get

  • Strongly-typed, auto-generated bindings for 50+ CDP domains such as Page, Network, DOM, Runtime, Debugger, and Console.
  • A fully async API with CancellationToken support.
  • Native AOT and IL trimming compatibility on .NET 8+.
  • Fast, source-generated System.Text.Json serialization.

Continue to Getting Started to install the package and run your first command.