Nullean.Cdp.Cli 0.11.1

dotnet tool install --global Nullean.Cdp.Cli --version 0.11.1
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local Nullean.Cdp.Cli --version 0.11.1
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Nullean.Cdp.Cli&version=0.11.1
                    
nuke :add-package Nullean.Cdp.Cli --version 0.11.1
                    

Nullean.Cdp.Cli

Nullean.Cdp

The cdp command: check and run synthetic journeys against Chrome over the DevTools Protocol, export them to agent-browser, and snapshot pages. Native AOT.

NuGet

cdp run on a journey against a local page: each checkpoint's output between nonce-fenced PAGE_CONTENT markers

Install

dotnet tool install -g Nullean.Cdp.Cli

Quick start

cdp check journeys/*.journey                             # parse only, every error with its line
cdp run journeys/checkout.journey --base-url http://localhost:5000/
cdp run site/journeys/*.journey --base-url ./site --json
cdp snapshot http://localhost:5000/ --compact            # one page's accessibility tree
cdp batch journeys/checkout.journey --base-url http://localhost:5000/ | agent-browser batch --bail
cdp chrome                                               # which Chrome, or where it looked

Everything the page produced is printed between --- PAGE_CONTENT nonce=… --- markers with a nonce per run, so an agent reading the output can tell the page's words from the tool's. Exit codes: 0 ok, 1 failed, 2 usage, 3 no browser. The command name cdp is a working name.

A journey is a text file with one agent-browser command per line:

# checkout.journey
open /shop
find label Search fill lamp
press Enter
wait --text "results"
find role button click --name "Add to basket"
snapshot -c -s main          # a checkpoint: its output is recorded
get text .basket-count       # another

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

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.11.1 0 11/12/2026
0.11.0 38 11/11/2026
0.10.0 39 11/11/2026
0.9.0 55 11/10/2026
0.8.0 48 11/10/2026
0.7.0 44 11/10/2026
0.6.0 64 11/5/2026
0.5.0 54 11/5/2026
0.4.0 61 11/5/2026
0.3.0 65 11/4/2026
0.2.0 55 11/4/2026
0.1.0 62 11/4/2026