title: How to click on the download button using Selenium and Python
body: <p>I am trying to download an excel file using Selenium Python using the below code:</p>
  
  <pre><code>download=driver.find_element_by_css_selector("span[data-reactid='.0.1.0.0.1.1.1.0.1.0.1'&gt;Download Orders]")
  </code></pre>
  
  <p>The element of the download button look like:
  <a href="https://i.stack.imgur.com/mm4Ww.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mm4Ww.png" alt="enter image description here"></a></p>
  
  <h2>The piece of code above isnt working. Can someone help?</h2>