title: Need to select drop down value using xpath in Selenium Webdriver
body: <p>My intention is to select a value from drop down (From field) in RedBus site. And I am using Xpath to select it.</p>
  
  <p>I am using the following code:</p>
  
  <pre><code>WebDriver driver=new FirefoxDriver();
          driver.get("http://www.redbus.in/");
          driver.manage().timeouts().implicitlyWait(60, TimeUnit.SECONDS);
          driver.findElement(By.id("DDLSource")).sendKeys("Chenn");
          driver.manage().timeouts().implicitlyWait(50, TimeUnit.SECONDS);
          driver.findElement(By.xpath(".//*[@id='123']")).click();
  </code></pre>
  
  <p>But it's not working. Only sending the values but not selecting.</p>
  
  <p>Can anybody please help me out....</p>