title: How to read text displayed on the window pop up on UL class by selenium
body: <p>I need to read the text displayed on the popup window in Web driver using Java. I am able to handle the popup window for closing. I don't know how to read the text displayed on Popup window and print it in Console.</p>
  
  <p>HTML :</p>
  
  <pre><code>&lt;ul class="traceInner"&gt;&lt;li class="traceHead"&gt;&lt;span&gt;&lt;input type="checkbox" class="chkall hand"&gt;奖期&lt;/span&gt;&lt;em&gt;追号倍数&lt;/em&gt;&lt;em&gt;追号状态&lt;/em&gt;&lt;em&gt;注单详情&lt;/em&gt;&lt;/li&gt;&lt;li&gt;&lt;span&gt;&lt;input type="checkbox" rel="20151119031YCL02WY0001" class="hand disabled" disabled="disabled" name="2015316"&gt;2015316&lt;/span&gt;&lt;em&gt;1&lt;/em&gt;&lt;em&gt;&lt;label&gt;已完成&lt;/label&gt;&lt;/em&gt;&lt;em&gt;&lt;a class="hand traceDetails" data-id="20151119031YCL02WY0001" rel="434"&gt;详情&lt;/a&gt;&lt;/em&gt;&lt;/li&gt;&lt;li&gt;&lt;span&gt;&lt;input type="checkbox" rel="" class="hand" name="2015317" 追号中=""&gt;2015317&lt;/span&gt;&lt;em&gt;1&lt;/em&gt;&lt;em&gt;&lt;label&gt;进行中&lt;/label&gt;&lt;/em&gt;&lt;em&gt;&amp;nbsp;&lt;/em&gt;&lt;/li&gt;&lt;/ul&gt;
  </code></pre>
  
  <p>I need to get the lable text of 已完成 in label.</p>
  
  <p>MY CODE : </p>
  
  <pre><code>ConfirmationPlaceBet_Page.verification_ZhuiHao2(driver).getText();
  </code></pre>