title: testcafe accessing li elements
body: <p>I need help in accessing the li elements in the below link.</p>
  
  <p><a href="https://www.healthdirect.gov.au/medicines/brand/amt,934621000168103/l-arginine-rch" rel="nofollow noreferrer">https://www.healthdirect.gov.au/medicines/brand/amt,934621000168103/l-arginine-rch</a></p>
  
  <p>My li elements under document.querySelectorAll('#disclaimer+section li')</p>
  
  <p>I tried, </p>
  
  <pre><code>const seeAlsoElements =  Selector( () =&gt; {
  
              const seeA = document.querySelectorAll('#disclaimer+section li');
              return seeA;
  
          });
  
         const seeAlso = await seeAlsoElements();
  
         actualSeeAlsoFirstLine = seeAlso[0].innerText().split(':');
         aSADAlink = seeAlsoElements[1].child('a').getAttribute('href');
         genericVsBrandArticle = seeAlsoElements[2].getAttribute('href');
  </code></pre>
  
  <p>but I am getting errors. Please help me in correcting this code. I need to individually access the li tags for their href or inner text;</p>