Nullean.Cdp 0.11.1

dotnet add package Nullean.Cdp --version 0.11.1
                    
NuGet\Install-Package Nullean.Cdp -Version 0.11.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Nullean.Cdp" Version="0.11.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nullean.Cdp" Version="0.11.1" />
                    
Directory.Packages.props
<PackageReference Include="Nullean.Cdp" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Nullean.Cdp --version 0.11.1
                    
#r "nuget: Nullean.Cdp, 0.11.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Nullean.Cdp@0.11.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Nullean.Cdp&version=0.11.1
                    
Install as a Cake Addin
#tool nuget:?package=Nullean.Cdp&version=0.11.1
                    
Install as a Cake Tool

Nullean.Cdp

Nullean.Cdp

A small Chrome DevTools Protocol client for .NET: find and launch Chrome, drive pages with agent-browser style locators, and read the accessibility tree. Native AOT and trim clean, with no dependencies beyond the BCL.

NuGet

Install

dotnet add package Nullean.Cdp

Quick start

using Nullean.Cdp;
using Nullean.Cdp.Accessibility;

await using var browser = await Browser.LaunchAsync();      // headless, temporary profile
await using var context = await browser.NewContextAsync();  // own cookies and storage
var page = await context.NewPageAsync();
await page.GotoAsync("http://localhost:5000/");

Console.Write(await page.SnapshotAsync(new AxSnapshotOptions { Compact = true, Selector = "main" }));
// - main
//   - heading "Fixture shop" [level=1]
//   - textbox "Search"
//   - checkbox "Only in stock" [checked=true]

Locators wait for their element and act like a user:

await page.Label("Search").FillAsync("lamp");
await page.Role("checkbox", "Only in stock").CheckAsync();
await page.Role("button", "Go").ClickAsync();         // waits for any navigation it starts
await page.Text("3 results").WaitAsync();

page.SendAsync(method, params) and browser.Connection reach any CDP command the library does not wrap.

Finding Chrome

CDP_CHROME, then CHROME_PATH, then the standard install locations for Chrome, Chrome for Testing, Chromium and Edge on each OS, then google-chrome, chromium and chrome on the PATH. When nothing is found, the error lists every place it looked.

Learn more

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Nullean.Cdp:

Package Downloads
Nullean.Cdp.Journeys

Synthetic browser journeys: plain text files in agent-browser's command language, parsed, run with Nullean.Cdp and exported to agent-browser's batch JSON.

Nullean.Snapshots.Browser

Browser journeys for Nullean.Snapshots: run agent-browser style journeys with Nullean.Cdp and compare their transcripts, accessibility trees and reads, as trees.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.11.1 0 11/12/2026
0.11.0 50 11/11/2026
0.10.0 672 11/11/2026
0.9.0 86 11/10/2026
0.8.0 395 11/10/2026
0.7.0 107 11/10/2026
0.6.0 328 11/5/2026
0.5.0 94 11/5/2026
0.4.0 100 11/5/2026
0.3.0 298 11/4/2026
0.2.0 99 11/4/2026
0.1.0 150 11/4/2026