captureEmergencyFailureScreenshotFrame function
ScreenshotSheetFrame
captureEmergencyFailureScreenshotFrame({
- required WidgetTester tester,
- String? deviceId,
- String? deviceLabel,
- String? platform,
- String? model,
Captures the common failure frame after the adapter has chosen its timing.
Hosted and standalone adapters intentionally retain different pump and fallback policies, while sharing the pixel capture and report projection.
Implementation
ScreenshotSheetFrame captureEmergencyFailureScreenshotFrame({
required WidgetTester tester,
String? deviceId,
String? deviceLabel,
String? platform,
String? model,
}) =>
emergencyFailureScreenshotFrame(
image: ExtendedStepHandlers.captureScreenshotImage(tester),
deviceId: deviceId,
deviceLabel: deviceLabel,
platform: platform,
model: model,
);