title: In webdriver, how to verify dropdown field is displayed or not using Java
body: <p>I need to verify whether the dropdown field is displayed in the screen or not using Java in webdriver. This dropdown field will display in this a screen after selecting the checkbox in another screen only.I have used the following code to verify the field is displayed or not but, it is not returning any value like true or false.</p>
  
  <pre><code>driver.findElements(By.name("ctl00$MasterPlaceHolder$DdlPwdExp"));
  driver.findElements(By.name("ctl00$MasterPlaceHolder$DdlSessionExp"));
  driver.findElements(By.name("ctl00$MasterPlaceHolder$DdlfailedLogin"));
  </code></pre>
  
  <p>Can any one help me on this. Help will be appreciated.</p>