I want to click an excel button on a page but i am getting "element not interactable" error.
When i debugged it, i see the element display is set to false. However, i can go to the page and click element and it downloads the file so it works but not when i am running my code. I have put longer wait time but that did not help either.Here is my code
var excelButton = driver.FindElement(By.XPath("//div[contains(@class,'exportLabel') and contains(text(),'XLS (1000 max)')]")); System.Threading.Thread.Sleep(5000); excelButton.Click();
