title: Select element from list by index - Playwright
body: <p>After getting a list of elements by a common selector, how do I then select a single element from that list by it's index?</p>
  <pre><code>  When('click the first item in the list', async () =&gt; {
        const rows = await page.$$('.row-item');
        await page.click(rows[0]); &lt;-- error message generated by this line
    });
  </code></pre>
  <p>The error message I get when trying the above is:</p>
  <blockquote>
  <p>// Argument of type 'ElementHandle&lt;SVGElement | HTMLElement&gt;' is not assignable to parameter of type 'string'</p>
  </blockquote>