hi i have a doubt in typescript with playwright code
import { test, expect, Locator } from "@playwright/test";
test("dynamic table", async ({ page }) => {
await page.goto("https://practice.expandtesting.com/dynamic-table");
const table : Locator = page.locator(".table.table-striped");
const rows: Locator[] = await table.locator("tr").all();
console.log("The number of rows is " + " " + rows.length);
expect (rows.length).toBe(5);
let cpuLoad = '';
for(const row of rows){
const processName:string = await row.locator("td").nth(0).innerText();