Provide example of how to grab screenshots during driver tests
@mit-mit commented on Fri Dec 08 2017
Request: Add a sample of how to grab screenshots with integration tests to https://docs.flutter.dev/testing#integration-testing
Great tutorial here: https://keyholesoftware.com/automating-flutter-deployments-part-2-screenshots/
Duplicate of #2100.
Actually, this is separate from #2100. This could be a short code sample in https://docs.flutter.dev/testing#integration-testing. To limit the scope, it might just show how to make a screenshot.
This just came up in our meeting today. cc @RedBrogdon @galeyang @sfshaza2
Check this out: https://github.com/mmcc007/screenshots/blob/master/lib/src/capture_screen.dart
It's part of a package the does automated screenshots for upload to stores (Kinda like a combination of fastlanes ScreenShots, ScreenGrab with a little FrameIt thrown in for good measure!)
@khanhnwin : Would you have any idea where we could start with this?