runner/diagnostic_ui_snapshot library

Classes

DiagnosticUiSnapshot
Side-effect-free UI dump for HTML Observer tabs.

Functions

captureDiagnosticUiSnapshot({required WidgetTester tester, required AssertionEngine assertions, NavigationTestService? navigation, ObservationDetailLevel detail = ObservationDetailLevel.diagnostic}) → DiagnosticUiSnapshot
Sync element walk for a step screenshot (no semantics / pump / queue).
captureDiagnosticUiSnapshotBestEffort({required WidgetTester tester, required AssertionEngine assertions, NavigationTestService? navigation, ObservationDetailLevel detail = ObservationDetailLevel.diagnostic}) → DiagnosticUiSnapshot?
Captures report observation for a frozen screenshot without making the screenshot itself depend on the diagnostic tree walk succeeding.