<span class="download-csv link"><span class="icon icon-download"></span>Download
<a href="#" class="hide download-link"></a></span>
I am trying to click on a link that downloads a CSV file of my equity holdings from the kite zerodha website using selenium, the element to that link is as shown above. It doesn't have a link but a # so when I try to run my code :
element = driver.find_element(by = By.LINK_TEXT, value="Download")
element.click()
it's not working and giving me lots of errors. The download button looks like this :