I\'m getting a list of 30 items from the code:
const boxes = await page.evaluate(() => {
return document.querySelectorAll(\"DIV.a-row.dealContainer.dealTi
There are multiple ways to do this:
Code sample for page.$$eval
const htmls = await page.$$eval('selector', el => el.innerHTML);
Code sample for page.evaluate
const singleBox = boxes[0];
const html = await page.evaluate(el => el.innerHTML, singleBox);