title: Select class not working in my webdriver program
body: <p>I am trying to automate this dropdown but I am getting the error: 
  <code>Element should have been "select" but was "b"</code></p>
  
  <p>The dropdown has lists starting with:</p>
  
  <pre><code>&lt;li class="active-result result-selected highlighted" style="" data-option-array-index="0"&gt;Select Country&lt;/li&gt;
  &lt;li class="active-result" style="" data-option-array-index="1"&gt;United States&lt;/li&gt;
  &lt;li class="active-result" style="" data-option-array-index="2"&gt;India&lt;/li&gt;
  </code></pre>
  
  <p>And my code is:</p>
  
  <pre><code>&lt;Select sel=new Select(driver.findElement(By.xpath("//div[@id='profile_country_chosen']/a/div/b")));
          sel.selectByVisibleText("India");`
  </code></pre>
  
  <p>Please do tell me what am I doing wrong here.
  Thanks.</p>