puppeteer: Getting HTML from NodeList?
问题 I'm getting a list of 30 items from the code: const boxes = await page.evaluate(() => { return document.querySelectorAll("DIV.a-row.dealContainer.dealTile") }) console.log(boxes); The result { '0': {}, '1': {}, '2': {}, .... '28': {}, '29': {} } I have the need to see the html of the elements. But every property I tried of boxes is simply undefined . I tried length , innerHTML , 'innerText` and some other. I am sure of box really containing something because puppeteer's screenshot shows the