Esempio n. 1
0
        /// <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");
        }
Esempio n. 2
0
        /// <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");
        }
Esempio n. 3
0
 private static string GetDriverDownloadFileName(Architecture architecture) =>
 OSInfo.IsWindows
         ? $"edgedriver_win{architecture.GetBits()}.zip"
         : OSInfo.IsOSX
             ? "edgedriver_mac64.zip"
             : "edgedriver_linux64.zip";