@@ -12,7 +12,7 @@ C#/.NET package for [Atata](https://github.com/atata-framework/atata) configurat
1212
1313* The package targets .NET Standard 2.0, which supports .NET 5+, .NET Framework 4.6.1+ and .NET Core/Standard 2.0+.*
1414
15- ** [ What's new in v2.1 .0] ( https://atata.io/blog/2022/07/20 /atata.configuration.json-2.1 .0-released/ ) **
15+ ** [ What's new in v2.2 .0] ( https://atata.io/blog/2022/11/17 /atata.configuration.json-2.2 .0-released/ ) **
1616
1717## Table of Contents
1818
@@ -422,6 +422,8 @@ with help of `{env:VarName}` template insertions.
422422 " logNUnitError" : true ,
423423 " takeScreenshotOnNUnitError" : true ,
424424 " takeScreenshotOnNUnitErrorTitle" : " string" ,
425+ " takePageSnapshotOnNUnitError" : true ,
426+ " takePageSnapshotOnNUnitErrorTitle" : " string" ,
425427 " onCleanUpAddArtifactsToNUnitTestContext" : true ,
426428 " onCleanUpAddDirectoryFilesToNUnitTestContext" : " string" ,
427429 " useNUnitAggregateAssertionStrategy" : true , // Indicates to use NUnitAggregateAssertionStrategy as the aggregate assertion strategy.
@@ -449,6 +451,14 @@ with help of `{env:VarName}` template insertions.
449451 }
450452 ],
451453
454+ " pageSnapshots" : { // Configures page snapshots functionality.
455+ " fileNameTemplate" : " string" ,
456+ " strategy" : {
457+ " type" : " cdpOrPageSource" , // Supports: "cdpOrPageSource", "pageSource", "cdp", and name of custom type implementing "Atata.IPageSnapshotTakeStrategy".
458+ " {{strategyValueName}}" : " value" // Any property or constructor parameter of strategy.
459+ }
460+ },
461+
452462 " eventSubscriptions" : [
453463 {
454464 " eventType" : " event type" , // Optional.
0 commit comments