title: Selenium locating element by image source
body: <p>I am trying to click on an element using selenium webdriver version 2.39, eclipse-kepler, IE11.</p>
  
  <p>I am getting the following error:</p>
  
  <blockquote>
    <p>Exception in thread "main" org.openqa.selenium.NoSuchElementException:
    Unable to find element with xpath ==
    //img[@src='images/style/default/menubar_menubutton.png'] (WARNING:
    The server did not provide any stacktrace information)</p>
  </blockquote>
  
  <p>Other things that give me the same error are:</p>
  
  <blockquote>
  <pre><code>(By.xpath("//div[contains(@src,'images/style/default/menubar_menubutton.png')]"));
  
  
  (By.xpath("//div[(@src,'images/style/default/menubar_menubutton.png')]"));
  
  
  (By,xpath("//img[contains(@src,'images/style/default/menubar_menubutton.png')]"));
  </code></pre>
  </blockquote>