ScreenshotManager constructor
Creates a new ScreenshotManager instance.
The screenshotDirectory specifies where screenshots should be saved.
If autoScreenshots is true, screenshots will be automatically captured on failures.
Implementation
const ScreenshotManager({
required this.screenshotDirectory,
this.autoScreenshots = false,
});