title: get full value from partial id when scraping using VBA and selenium
body: <p>I am (trying to) scrape information from an intranet page that has a lot of </p>
  
  <pre><code>&lt;div id="CustID_1234567"[...]&gt;
      &lt;div class="logged"&gt;2019-09-27&lt;/div&gt;
  &lt;/div&gt;
  &lt;div id="CustID_2345678"[...]&gt;
      &lt;div class="logged"&gt;2019-09-26&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I am trying to collect all the customer IDs in an array for further processing but I am having a hard time to find the correct code using selenium for getting the full id.</p>
  
  <p>I have tried different variants of FindElementsByXPath while looping through the code but I don´t know how to get the ID text</p>
  
  <pre><code>    Customers(a)=bot.FindElementsByXPath("//*[contains(@id, 'CustID_')]").Item(a).ID
      Customers(a)=bot.FindElementsByXPath("//*[contains(@id, 'CustID_')]").Item(a).text
  </code></pre>
  
  <p>The first one (.id) ends in an error but the last (.text) one gets the text (duh), "2019-09-27" and "2019-09-26", so I guess I am not all that far from the real solution.</p>
  
  <p>Any suggestion, please?</p>