Skip to content

Remove screenshot consumers functionality #817

@YevgeniyShunevych

Description

@YevgeniyShunevych

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.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions