Screenshots functionality is simplified and now its configuration is similar to the configuration of page snapshots. Basically, you no longer need to call ScreenshotConsumers.AddFile() to enable screenshots saving, it is enabled by default. To change the default screenshot file path template use Screenshots.UseFileNameTemplate("...").
Removed
AtataContextBuilder's ScreenshotConsumers property is removed together with all the other code related to it.
The same is valid for JSON configuration, "screenshotConsumers" JSON property is gone. Use "screenshots"/"fileNameTemplate" JSON property to configure screenshot file path.
IScreenshotConsumer and implementation classes are removed.
Screenshots functionality is simplified and now its configuration is similar to the configuration of page snapshots. Basically, you no longer need to call
ScreenshotConsumers.AddFile()
to enable screenshots saving, it is enabled by default. To change the default screenshot file path template useScreenshots.UseFileNameTemplate("...")
.Removed
AtataContextBuilder
'sScreenshotConsumers
property is removed together with all the other code related to it."screenshots"
/"fileNameTemplate"
JSON property to configure screenshot file path.IScreenshotConsumer
and implementation classes are removed.