Nullean.Snapshots.Browser 0.12.1

dotnet add package Nullean.Snapshots.Browser --version 0.12.1
                    
NuGet\Install-Package Nullean.Snapshots.Browser -Version 0.12.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.Snapshots.Browser" Version="0.12.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nullean.Snapshots.Browser" Version="0.12.1" />
                    
Directory.Packages.props
<PackageReference Include="Nullean.Snapshots.Browser" />
                    
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.Snapshots.Browser --version 0.12.1
                    
#r "nuget: Nullean.Snapshots.Browser, 0.12.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.Snapshots.Browser@0.12.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.Snapshots.Browser&version=0.12.1
                    
Install as a Cake Addin
#tool nuget:?package=Nullean.Snapshots.Browser&version=0.12.1
                    
Install as a Cake Tool

Nullean.Snapshots.Browser

snapshots.

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

NuGet

Install

dotnet add package Nullean.Snapshots.Browser

Quick start

A journey is one command per line; reads (snapshot, get, is) become transcript sections:

open index.html
find role button click --name "Add red lamp"
snapshot -c -s "#results"
get text #count

Run it and compare, without a test framework:

using Nullean.Snapshots.Browser;

public static class ShopJourney
{
	public static async Task CheckAsync()
	{
		var options = new JourneySnapshotOptions { BaseUrl = new Uri("http://localhost:5000/") };
		var transcript = await JourneySnapshot.RunAsync("journeys/shop.journey", options);
		var result = JourneySnapshot.Match(transcript);            // .snapshots/journeys/shop.verified.journey
		if (!result.Passed)
			throw new InvalidOperationException(result.FailureMessage);
	}
}
  • In AwesomeAssertions tests use Nullean.Snapshots.Browser.Assertions (JourneyTest.RunAsync); for a suite in a console tool, Nullean.Snapshots.Browser.Console; from the command line, snap journey run.
  • A live site: Transcript = TranscriptMode.Off and ReadOnly = true compare nothing and send no writes, and JourneySnapshot.SkipReason says when a journey does not apply.
  • Two sites: JourneySnapshot.CompareAsync runs a journey against a baseline and a target and fails only on differences no rule in its .differences file expects. screenshot steps are compared too, with a diff image.

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.

NuGet packages (2)

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

Package Downloads
Nullean.Snapshots.Browser.Assertions

AwesomeAssertions extensions for Nullean.Snapshots.Browser: MatchJourneySnapshot and MatchAriaSnapshot.

Nullean.Snapshots.Browser.Console

Runs a suite of journeys from the console with streamed results, grouped skips and readable failures, for snap journey run and for any tool that wants the same output.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.12.1 0 11/12/2026
0.12.0 0 11/12/2026
0.11.0 10 11/11/2026
0.10.1 54 11/11/2026
0.10.0 75 11/11/2026
0.9.0 43 11/11/2026
0.8.1 119 11/11/2026
0.8.0 112 11/11/2026
0.7.0 200 11/10/2026
0.6.0 164 11/5/2026
0.5.0 71 11/5/2026
0.4.0 72 11/5/2026
0.3.0 76 11/4/2026