title: How to get All Text in robot framework ?
body: <p>Consider the following source code, </p>
  
  <pre><code>&lt;div id="groupContainer" class="XXXXXX"&gt;
  
  &lt;ul id="GroupContactListWrapper" class="list-wrapper"&gt;
      &lt;li class="contactNameItemContainer"&gt;
  
          &lt;div class="contactNameItem"&gt;
              &lt;span class="name"&gt;Name1&lt;/span&gt;
          &lt;/div&gt;
  
      &lt;/li&gt;
      &lt;li class="contactNameItemContainer"&gt;
  
          &lt;div class="contactNameItem"&gt;
              &lt;span class="name"&gt;Name2&lt;/span&gt;
          &lt;/div&gt;
  
      &lt;/li&gt;
  &lt;/ul&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>How do i retreive the two names (Name1,Name2) in a list variable ? 
  I tried the following xpath for a "Get Text" keyword, but only returns the first one.</p>
  
  <pre><code>//div[@id='groupContainer']//li[@class='contactNameItemContainer']//span
  </code></pre>
  
  <p>Please suggest</p>