Nullean.Snapshots.Browser.Assertions 0.12.1

dotnet add package Nullean.Snapshots.Browser.Assertions --version 0.12.1
                    
NuGet\Install-Package Nullean.Snapshots.Browser.Assertions -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.Assertions" 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.Assertions" Version="0.12.1" />
                    
Directory.Packages.props
<PackageReference Include="Nullean.Snapshots.Browser.Assertions" />
                    
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.Assertions --version 0.12.1
                    
#r "nuget: Nullean.Snapshots.Browser.Assertions, 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.Assertions@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.Assertions&version=0.12.1
                    
Install as a Cake Addin
#tool nuget:?package=Nullean.Snapshots.Browser.Assertions&version=0.12.1
                    
Install as a Cake Tool

Nullean.Snapshots.Browser.Assertions

snapshots.

AwesomeAssertions extensions for Nullean.Snapshots.Browser: run a journey in Chrome and assert its transcript (JourneyTest, MatchJourneySnapshot), or one page's accessibility tree (MatchAriaSnapshot).

NuGet

Install

dotnet add package Nullean.Snapshots.Browser.Assertions

Quick start

A test case per journey file ([JourneyFiles] is in Nullean.Snapshots.TUnit), skipping the ones the site does not support, with the reason shown:

using Nullean.Snapshots;
using Nullean.Snapshots.Browser;
using Nullean.Snapshots.TUnit;

public class JourneyTests
{
	private static readonly JourneySnapshotOptions Options = new() { BaseUrl = new Uri("http://localhost:5000/") };

	[Test]
	[JourneyFiles("journeys")]                                    // one test case per .journey file
	public async Task Run(SnapshotFile journey)
	{
		if (JourneyTest.SkipReason(journey, Options) is { } why)
			Skip.Test(why);
		await JourneyTest.RunAsync(journey, Options);
	}
}

Run and assert in two steps to pass SnapshotOptions or a reason: transcript.Should().MatchJourneySnapshot(because: "the basket shows the lamp"). A Nullean.Cdp page's accessibility tree is stored as .verified.aria with (await page.SnapshotAsync(new() { Compact = true })).Should().MatchAriaSnapshot().

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

This package is not used by any NuGet packages.

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 16 11/11/2026
0.10.1 46 11/11/2026
0.10.0 62 11/11/2026
0.9.0 40 11/11/2026
0.8.1 167 11/11/2026
0.8.0 123 11/11/2026
0.7.0 205 11/10/2026
0.6.0 172 11/5/2026
0.5.0 80 11/5/2026
0.4.0 80 11/5/2026
0.3.0 82 11/4/2026