public void ClickOnDocUpload() { Actions.Click(_elementDocUpload); Console.WriteLine("Clicked on Upload button"); //WebDriverWait wait = new WebDriverWait(Driver, TimeSpan.FromSeconds(5000)); //Waits.WaitForElementToBeInvisible(_elementDocUpload, WaitType.ImplicitWaitTime); //wait.Until(ExpectedConditions.InvisibilityOfElementLocated(_elementDocUpload)); Waits.WaitForBrowserLoad(); }