title: How to retrieve a selected value from a list box?
body: <p>HTML Content:</p>
  
  <pre><code>&lt;select id="modalNewUser-body-information-timeZone" class="span12 ng-valid ng-dirty" ng-options="timezone for timezone in timezoneList" ng-model="newUser().timeZone" uid="timeZone" name="timezone"&gt;
      &lt;option selected="" value=""&gt;-- Select One --&lt;/option&gt;
      &lt;option value="0"&gt;AST&lt;/option&gt;
      &lt;option value="1"&gt;EST&lt;/option&gt;
      &lt;option value="2"&gt;CST&lt;/option&gt;
      &lt;option value="3"&gt;MST&lt;/option&gt;
      &lt;option value="4"&gt;PST&lt;/option&gt;
      &lt;option value="5"&gt;YST&lt;/option&gt;
      &lt;option value="6"&gt;HST&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>suppose I have selected 'EST' from the list box How can I retrieve it?
  I am not able to retrieve with getFirstSelectedOption().getText()</p>
  
  <p>Select select = new Select(driver.findElement(By.id("modalNewUser-body-information-timeZone")));
  select.selectByVisibleText("EST");
  String timeZone = select.getFirstSelectedOption().getText();</p>