title: How to click on the image selenium python
body: <p>trying to click a input type using selenium python, input type calls image file, and added css cursor: pointer on the image, unfortunately cant click the image or the input</p>
  
  <p><strong>Image</strong></p>
  
  <p><a href="https://i.stack.imgur.com/82lda.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/82lda.png" alt="enter image description here"></a></p>
  
  <p><strong>Code</strong></p>
  
  <pre><code>&lt;input type="image" src="/images/btn_next.png"&gt;
  </code></pre>
  
  <p><strong>CSS</strong></p>
  
  <pre><code>input[type="image" i] 
  {
      cursor: pointer;
  }
  </code></pre>
  
  <p>how to click on the image "Next Step" ?</p>
  
  <p>I tried, but shows error </p>
  
  <pre><code>driver.find_element_by_xpath('//input[@type="image"][@src="/images/btn_next.png"]').click()
  </code></pre>