private static void TryDownloadAndroidDriverAndShowInstructions() { var driverDownloader = new AndroidDriverDownloader(); driverDownloader.DownloadAndroidDriver(); Process.Start(driverDownloader.DownloadDirectory); OpenAndroidDriverInstallationManual(driverDownloader); }
private static void OpenAndroidDriverInstallationManual(AndroidDriverDownloader downloader) { try { TryOpenAndroidDriverInstallationManual(downloader); } catch (AndroidDriverDownloader.ShowingInstructionsFailed ex) { Logger.Warning("Could not open the manual of 'How to install Android drivers' because: " + ex.Message); } }
private static void TryDownloadAndroidDriverAndShowInstructions() { try { var driverDownloader = new AndroidDriverDownloader(); driverDownloader.DownloadAndroidDriver(); Process.Start(driverDownloader.DownloadDirectory); TryOpenAndroidDriverInstallationManual(driverDownloader); } catch (Exception ex) { Logger.Warning("Failed to download the Android drivers because: " + ex.Message); } }
public void CreateDownloader() { driverDownloader = new AndroidDriverDownloader(); }
private static void TryOpenAndroidDriverInstallationManual(AndroidDriverDownloader downloader) { downloader.ShowInstructions(); }