title: Selenium Select Can't locate options
body: <p>I am having an issue when I locate and assign a Select object grabbing its options, probably due to some of the wonky HTML on the page.  Here is the HTML of the Select and its options:</p>
  
  <pre><code>&lt;select&gt;
  &lt;option selected="" val="1"&gt;1&lt;/option&gt;
  &lt;option val="2"&gt;2&lt;/option&gt;
  &lt;option val="3"&gt;3&lt;/option&gt;
  &lt;option val="4"&gt;4&lt;/option&gt;
  &lt;option val="5"&gt;5&lt;/option&gt;
  ...
  &lt;/select&gt;
  </code></pre>
  
  <p>The select is located using XPath as such: <code>.//*[@id='employeeTable_paginate']/div/select</code></p>
  
  <p>I am wondering if it isn't able to locate the options since the <code>values</code> are referred to as <code>vals</code> in the HTML?  I tried the following code to see if it would get the Options:</p>
  
  <p><code>for (WebElement option : select.getOptions()) System.out.println(option);</code></p>
  
  <p>but it does not print anything.  Additionally, if I try to select an option by index, it says it can not locate option with that index.</p>