public void DownloadImageFromValidUrl(bool shouldPressKeyboardReturnButton)
        {
            //Arrange

            //Act
            LoadImagePage.EnterUrl(LoadImagePage.ValidUrl);

            //Assert
            Assert.AreEqual(LoadImageButtonTextConstants.DownloadImageFromUrlButtonText, LoadImagePage.LoadImageButtonText);

            //Act
            if (shouldPressKeyboardReturnButton)
            {
                LoadImagePage.TapKeyboardEnterButton();
            }
            else
            {
                LoadImagePage.TapLoadImageButton();
            }

            LoadImagePage.WaitForNoIsDownloadingActivityIndicator();

            //Assert
            Assert.IsTrue(LoadImagePage.IsDownloadedImageShown);
            Assert.AreEqual(LoadImageButtonTextConstants.LoadImageFromDatabaseButtonText, LoadImagePage.LoadImageButtonText);

            //Act
            LoadImagePage.TapClearImageButton();

            //Assert
            Assert.IsFalse(LoadImagePage.IsDownloadedImageShown);
            Assert.AreEqual(LoadImageButtonTextConstants.LoadImageFromDatabaseButtonText, LoadImagePage.LoadImageButtonText);
        }
        public async Task DownloadImageFromValidUrl(bool shouldPressKeyboardReturnButton)
        {
            //Arrange

            //Act
            LoadImagePage.EnterUrl(LoadImagePage.ValidUrl);

            //Assert
            Assert.AreEqual(LoadImageButtonTextConstants.DownloadImageFromUrlButtonText, LoadImagePage.LoadImageButtonText);

            //Act
            switch (shouldPressKeyboardReturnButton)
            {
            case true:
                LoadImagePage.TapKeyboardEnterButton();
                break;

            case false:
                LoadImagePage.TapLoadImageButton();
                break;
            }
            await LoadImagePage.WaitForNoIsDownloadingActivityIndicator();

            //Assert
            Assert.IsTrue(LoadImagePage.IsDownloadedImageShown);
            Assert.AreEqual(LoadImageButtonTextConstants.LoadImageFromDatabaseButtonText, LoadImagePage.LoadImageButtonText);

            //Act
            LoadImagePage.TapClearImageButton();

            //Assert
            Assert.IsFalse(LoadImagePage.IsDownloadedImageShown);
            Assert.AreEqual(LoadImageButtonTextConstants.LoadImageFromDatabaseButtonText, LoadImagePage.LoadImageButtonText);
        }