Nullean.Snapshots.Browser.Assertions
0.12.2
See the version list below for details.
dotnet add package Nullean.Snapshots.Browser.Assertions --version 0.12.2
NuGet\Install-Package Nullean.Snapshots.Browser.Assertions -Version 0.12.2
<PackageReference Include="Nullean.Snapshots.Browser.Assertions" Version="0.12.2" />
<PackageVersion Include="Nullean.Snapshots.Browser.Assertions" Version="0.12.2" />
<PackageReference Include="Nullean.Snapshots.Browser.Assertions" />
paket add Nullean.Snapshots.Browser.Assertions --version 0.12.2
#r "nuget: Nullean.Snapshots.Browser.Assertions, 0.12.2"
#:package Nullean.Snapshots.Browser.Assertions@0.12.2
#addin nuget:?package=Nullean.Snapshots.Browser.Assertions&version=0.12.2
#tool nuget:?package=Nullean.Snapshots.Browser.Assertions&version=0.12.2
Nullean.Snapshots.Browser.Assertions

AwesomeAssertions extensions for Nullean.Snapshots.Browser: run a journey in Chrome and assert its transcript (JourneyTest, MatchJourneySnapshot), or one page's accessibility tree (MatchAriaSnapshot).
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
- Documentation: https://snapshots.nullean.net
- Browser journeys: https://snapshots.nullean.net/formats/browser/
- Source and issues: https://github.com/nullean/snapshots
| Product | Versions 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. net11.0 is compatible. |
-
net10.0
- Nullean.Snapshots.AwesomeAssertions (>= 0.12.2)
- Nullean.Snapshots.Browser (>= 0.12.2)
-
net11.0
- Nullean.Snapshots.AwesomeAssertions (>= 0.12.2)
- Nullean.Snapshots.Browser (>= 0.12.2)
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.18.1 | 49 | 11/24/2026 |
| 0.18.0 | 2,140 | 11/17/2026 |
| 0.17.0 | 109 | 11/17/2026 |
| 0.16.0 | 103 | 11/16/2026 |
| 0.15.0 | 271 | 11/16/2026 |
| 0.14.0 | 200 | 11/15/2026 |
| 0.13.0 | 96 | 11/14/2026 |
| 0.12.2 | 107 | 11/14/2026 |
| 0.12.1 | 98 | 11/12/2026 |
| 0.12.0 | 116 | 11/12/2026 |
| 0.11.0 | 351 | 11/11/2026 |
| 0.10.1 | 137 | 11/11/2026 |
| 0.10.0 | 121 | 11/11/2026 |
| 0.9.0 | 93 | 11/11/2026 |
| 0.8.1 | 269 | 11/11/2026 |
| 0.8.0 | 176 | 11/11/2026 |
| 0.7.0 | 242 | 11/10/2026 |
| 0.6.0 | 192 | 11/5/2026 |
| 0.5.0 | 99 | 11/5/2026 |
| 0.4.0 | 98 | 11/5/2026 |