title: Unable to find an element using webdriver
body: <p>I'm trying to locate a tab which is a png image. I have the source of the tab. But I have tried the follwoing options:</p>
  
  <p>1) </p>
  
  <pre><code>WebElement image = driver.findElement(By.id("x", "a"));
  String src = image.getAttribute("src"); 
  src.contains("x.png");
  </code></pre>
  
  <p>2)</p>
  
  <pre><code>WebElement image = driver.findElement(By.name("x"));
  </code></pre>
  
  <p>I'm unable to do find it.its not a hidden element as well...any inputs???? would be much appreciated...</p>