Exemplo n.º 1
0
 public void DownloadDirectoryMayNotBeEmptyAfterDownload()
 {
     if (Directory.Exists(driverDownloader.DownloadDirectory))
     {
         Directory.Delete(driverDownloader.DownloadDirectory, true);
     }
     driverDownloader.DownloadAndroidDriver();
     Assert.IsNotEmpty(Directory.GetFiles(driverDownloader.DownloadDirectory));
 }
Exemplo n.º 2
0
        private static void TryDownloadAndroidDriverAndShowInstructions()
        {
            var driverDownloader = new AndroidDriverDownloader();

            driverDownloader.DownloadAndroidDriver();
            Process.Start(driverDownloader.DownloadDirectory);
            OpenAndroidDriverInstallationManual(driverDownloader);
        }