title: How to use the DOM locators in Selenium
body: <p>I've the HTML source like this,</p>
  
  <pre><code>&lt;input type="image" onclick="return logSub();" src="/images/Login_submit.gif" width="105" height="33" border="0" /&gt;
  </code></pre>
  
  <p>Here there is no ID or NAME. So I can only locate this using image index (which is hard) or using the src tag? But I dont know how use the src tag?</p>
  
  <p>Is that possible?</p>