Puppeteer returning empty object
问题 When I run the following code in the page console I'm trying to scrape, I got picture. document.querySelector('#sb-site > div.sticky_footer > div:nth-child(9)') However, when I run this in my program, the console log it and returns '{}' const inputContent = await page.evaluate(() => { return document.querySelector('#sb-site > div.sticky_footer > div:nth-child(9)'); }); 回答1: puppeteer can transfer two types of data between Node.js and browser context: serializable data (i.e. data that is