title: Access innerHTML or innerText of structural dom(*ngFor) element in selenium
body: <p>I am trying to access innerHTML/innerText of structural DOM element but getting commented element, not getting child elements.</p>
  
  <pre><code>&lt;div class="snap-box"&gt;
    &lt;label class="snap-heading"&gt;Recommendations&lt;/label&gt;
    &lt;div class="row"&gt;
      &lt;div class="col-12 snap-list" *ngFor="let rec of recommendations"&gt;
        &lt;div class="title"&gt;{{rec.title}}&lt;/div&gt;
        &lt;div class="description"&gt;{{rec.description}}&lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>in selenium i'm trying to access all title &amp; description of snap-list, like this..</p>
  
  <pre><code>driver.execute_script("return document.getElementsByClassName('snap-box').innerHTML");
  </code></pre>
  
  <p>getting innerHTML as - </p>
  
  <pre><code>&lt;div class="snap-box"&gt; &lt;label class="snap-heading"&gt;Recommendations&lt;/label&gt; &lt;div class="row"&gt;&lt;!----&gt;&lt;/div&gt; &lt;/div&gt;
  </code></pre>
  
  <p>but expecting result all innerHTML of *ngFor. Could someone help please, Thanks in advance.</p>