title: What is the alternative of selenium.isElementPresent in Webdriver
body: <p>Hi I need to check a drop down field is having given values but those values are not selected so its not getting displayed in the dropdown box.
  I have following Xpath for the element</p>
  
  <pre><code>//table[contains(@id,'Field')]//tr[td//span[text()='Code']]/preceding-sibling::*[1]/td//select[contains(@id,'GSRCH_FLT')]/option[text()='not=']
  </code></pre>
  
  <p>which is identifying the element properly in the browser.  But when I am using the following webdriver method to verify it</p>
  
  <pre><code>driver.findElement(By.xpath("//table[contains(@id,'Field')]//tr[td//span[text()='Code']]/preceding-sibling::*[1]/td//select[contains(@id,'GSRCH_FLT')]/option[text()='not=']")).isDisplayed();
  </code></pre>
  
  <p>its returning false since it is not getting displayed in the box.</p>
  
  <p>Can u tell me the alternative for this.</p>