title: How to Select Multiple dropdowns using selenium webdriver
body: <p>Currently am working on <code>selenium webdriver</code>. I am trying select the multiple dropdowns and it is the filter selection. once i selected multiple dropdown i will click on <strong>Apply Filter</strong> button then i will produce the result based on the selected filter section. so i am getting problem to select multiple drop down and can't able to click on <strong>Apply filter</strong> dropdown. Could you please help me to figure out how to use the code. am using java</p>
  
  <p>Here is my sample code:</p>
  
  <pre><code>driver.findElement(By.id("ext-new-prs")).click();
  new Select(driver.findElement(By.id("visualizationId"))).selectByVisibleText("Center");
  new Select(driver.findElement(By.id("periodId"))).selectByVisibleText("Last 52 Weeks");
  new Select(driver.findElement(By.id("topographyId"))).selectByVisibleText("Center");
  driver.findElement(By.cssSelector("#topographyId &gt; option[value=\"center\"]")).click();
  new Select(driver.findElement(By.id("centerId"))).selectByVisibleText("OAB");
  new Select(driver.findElement(By.id("featureRequestId"))).selectByVisibleText("Include");
  driver.findElement(By.id("kpiFilterSubmit")).click();
  </code></pre>