/// <inheritdoc/> protected override string GetDriverDownloadFileName(string version, Architecture architecture) { string commonNamePart = $"geckodriver-v{version}-"; return(OSInfo.IsWindows ? $"{commonNamePart}win{architecture.GetBits()}.zip" : OSInfo.IsOSX ? $"{commonNamePart}macos.tar.gz" : $"{commonNamePart}linux{architecture.GetBits()}.tar.gz"); }
/// <inheritdoc/> protected override string GetDriverDownloadFileName(string version, Architecture architecture) { const string commonNamePart = "operadriver_"; return(OSInfo.IsWindows ? $"{commonNamePart}win{architecture.GetBits()}.zip" : OSInfo.IsOSX ? $"{commonNamePart}mac64.zip" : $"{commonNamePart}linux64.zip"); }
private static string GetDriverDownloadFileName(Architecture architecture) => OSInfo.IsWindows ? $"edgedriver_win{architecture.GetBits()}.zip" : OSInfo.IsOSX ? "edgedriver_mac64.zip" : "edgedriver_linux64.zip";