in packages/web_drivers/lib/firefox_driver_installer.dart [71:87]
Future<void> _installDriver() async {
// If this method is called, clean the previous installations.
try {
driverDownload = await _downloadDriver();
} catch (e) {
throw Exception(
'Failed to download driver Firefox from link $downloadUrl. $e');
} finally {
client.close();
}
if (io.Platform.isWindows) {
await _uncompressWithZip(driverDownload!);
} else {
await _uncompressWithTar(driverDownload!);
}
}