I am trying out Puppeteer. This is a sample code that you can run on: https://try-puppeteer.appspot.com/
The problem is this code is returning an array of empty obje
I faced the similar problem and i solved it like this;
await page.evaluate(() => Array.from(document.querySelectorAll('.title'), e => e.href));