I am working on selenium 3, and i am having an issue to cater for dropdown....Is there a solution for selenium 3 to select from a dropdown? : public static void main(String[] args) throws IOException {

     WebDriver driver = new FirefoxDriver();
     String baseUrl = "http://newtours.demoaut.com";
     driver.manage().window().maximize();
     driver.get(baseUrl);

     driver.findElement(By.name("userName")).sendKeys("rubric2016");
     driver.findElement(By.name("password")).sendKeys("rubric2016");
     
     driver.findElement(By.name("login")).click();

     **Select dropdown = new Select(driver.findElement(By.name(“fromMonth"))); 
     dropdown.selectByVisibleText(“March");**

    
 }
}