title: accessing list items by selenium web driver and storing them to list
body: <p>I want to store element one, element two...as mentioned below in a list by web driver...find the page source code</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;div class="widget"&gt;
  &lt;div class="widget"&gt;
   &lt;h2&gt;Programs&lt;/h2&gt;
     &lt;div class="w"&gt;
      &lt;ul class="xoxo blogroll"&gt;
        &lt;li&gt;
          &lt;li&gt;&lt;a title="Element ONE" href="http://www.zemtv.com/?s=4+Man+show"&gt;Test ONE&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a title="Element Two" href="http://www.zemtv.com/?s=8pm+with+Fareeha+Idrees"&gt;Test Two&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a title="Element three" href="http://www.zemtv.com/?s=Aaj+kamran+khan"&gt;Element Three&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;
          &lt;li&gt;
  </code></pre>
  
  <p>I am using the code like below </p>
  
  <pre class="lang-cs prettyprint-override"><code>List&lt;WebElement&gt; allNames = driver.findElements(By.xpath("//div[@class='xoxo blogroll']/a"));
  </code></pre>
  
  <p>but it is not accessing any list items. Can any body help me in this regard.</p>