title: How can I download a image on a click event using selenium?
body: <p>I want to download the image at this site <a href="https://imginn.com/p/CXVmwujLqbV/" rel="nofollow noreferrer">https://imginn.com/p/CXVmwujLqbV/</a> via the button. but i always fail.
  this is the code i use.</p>
  <pre><code>driver.find_element_by_xpath('/html/body/div[2]/div[5]/a').click()
  </code></pre>