framesScreenshotsWithDeviceBezel top-level property
bool
get
framesScreenshotsWithDeviceBezel
Widget tests dress screenshots in a matching device bezel. Integration captures already are the real simulator/emulator display, so a stock iPhone frame would clip the UI and misplace highlights.
Implementation
bool get framesScreenshotsWithDeviceBezel => !usesDeviceArtifactTransport;