hello - the puppeteer code example contained the following:
let elements = await page.waitForSelector(cssSelector);
let text = await page.evaluate(element => element.textContent, elements);
my brain is having trouble with the last line i see element.textContent, elements
– is this really two elements being passed intoawait.page.evaluate
?
could i pelase ask somebody to please rewrite this line without the shortcuts so maybe it might make a bit more sense to this permanent-newbie brain of mine>
thank you.