cleanupScreenshots static method
Clean up all generated screenshots
Implementation
static Future<void> cleanupScreenshots([String? customPath]) async {
final outputDir = Directory(customPath ?? _baseOutputDir);
if (outputDir.existsSync()) {
outputDir.deleteSync(recursive: true);
debugPrint('Cleaned up screenshots directory: ${outputDir.path}');
}
}