title: Unable to find and click the button
body: <blockquote>
    <p>trying to find and click the image with C#. Getting error as below.</p>
    
    <p>new_eog.myclass.Logintest:
    OpenQA.Selenium.NoSuchElementException : Unable to locate element: 
    "method":"xpath","selector":"//img[contains(@src,'<a href="https://www.sandbox.paypal.com/en_US/i/b" rel="nofollow">https://www.sandbox.paypal.com/en_US/i/b</a>
    tn/btn_donate_LG.gif')]"}</p>
    
    <p>Below is the html code for the image.</p>
  </blockquote>
  
  <pre><code>&lt;input type="image" border="0" alt="Make payments with PayPal - it's fast, free and secure!" src="https://www.sandbox.paypal.com/en_US/i/btn/btn_donate_LG.gif" name="submit"&gt;
  </code></pre>
  
  <blockquote>
    <p>Below is the code i am using to locate and click the image link.</p>
  </blockquote>
  
  <pre><code> IWebElement temp = wd.FindElement(By.XPath("//img[contains(@src,'https://www.sandbox.paypal.com/en_US/i/btn/btn_donate_LG.gif')]"));
   temp.Click();
  </code></pre>