@protected Future<String> takeScreenshot(World world) async { final bytes = await (world as FlutterWorld).driver!.screenshot(); return base64Encode(bytes); }