title: selenium selectByVisibleText not working correctly
body: <p>I was trying to select the 'float' option from following select list:</p>
  
  <pre><code>&lt;select id="pt1:tabs:ruleDictEditorTab:r2:bsets_ddc:iter:0:bse_dc:bse1:dtype::content" class="x2h" title="int" name="pt1:tabs:ruleDictEditorTab:r2:bsets_ddc:iter:0:bse_dc:bse1:dtype" _afrfoc="y1404280666174"&gt;
      &lt;option value="0" title="String"&gt;String&lt;/option&gt;
      &lt;option selected="" value="1" title="int"&gt;int&lt;/option&gt;
      &lt;option value="2" title="double"&gt;double&lt;/option&gt;
      &lt;option value="3" title="char"&gt;char&lt;/option&gt;
      &lt;option value="4" title="byte"&gt;byte&lt;/option&gt;
      &lt;option value="5" title="short"&gt;short&lt;/option&gt;
      &lt;option value="6" title="long"&gt;long&lt;/option&gt;
      &lt;option value="7" title="float"&gt;float&lt;/option&gt;
      &lt;option value="8" title="Date"&gt;Date&lt;/option&gt;
      &lt;option value="9" title="Time"&gt;Time&lt;/option&gt;
      &lt;option value="10" title="DateTime"&gt;DateTime&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>My selenium code is:</p>
  
  <pre><code>Select typeSelect = new Select(driver.findElement("//select"));
  typeSelect.selectByVisibleText("float");
  </code></pre>
  
  <p>when running, I saw the select changed to 'float' for a second, but it changed back to default 'int' option immediately. Has anyone seen this kind of issue before? how to solve it?</p>