runner/screenshot_highlight_builder library

Functions

buildScreenshotHighlight({required Rect logicalRect, required Size logicalSize, required Size imageSize, required String kind, TestDeviceTarget? device}) → ScreenshotHighlight?
Converts a logical target rectangle into the report's screenshot space.
screenshotHighlightKind(TestStep step, {bool forFailure = false, bool tapAtIsAction = false}) → String
Resolves the report marker kind consistently across screenshot adapters. Host captures also treat coordinate taps as actions; other action kinds come from the operation registry used by standalone execution.