public void Download_Latest_Release() { var downloader = new ChromeDriverDownloader(); var result = downloader.DownloadBinary("LATEST_RELEASE"); Assert.IsTrue(result); var exists = File.Exists(DriverFilepath); Assert.IsTrue(exists); exists = downloader.Binary.CheckBinaryExists(); Assert.IsTrue(exists); Assert.IsNotNull(downloader.Binary.GetExistingBinaryVersion()); }
public void Download_v29() { var downloader = new ChromeDriverDownloader(); const string versionNumber = "2.9"; var result = downloader.DownloadBinary(versionNumber); Assert.IsTrue(result); var exists = File.Exists(DriverFilepath); Assert.IsTrue(exists); exists = downloader.Binary.CheckBinaryExists(); Assert.IsTrue(exists); Assert.AreEqual(versionNumber, downloader.Binary.GetExistingBinaryVersion()); }