captureEmergencyFailureScreenshotFrame function

ScreenshotSheetFrame captureEmergencyFailureScreenshotFrame({
  1. required WidgetTester tester,
  2. String? deviceId,
  3. String? deviceLabel,
  4. String? platform,
  5. 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,
    );