Friday, 18 September 2020

Newbie Learning Node/JS/Puppeteer... $('main div ul') returns null...

When I use the console on Chromium $('main div ul') selects what I want. But when I run my JS file via node, that selector returns "null". I have a await page.waitForSelector('main div ul'); which passes. Here is my code:https://gist.github.com/ApplicationError/7f31549501a928155644b312cdcdcd8c#file-index-js-L51Any thoughts?

Submitted September 18, 2020 at 12:09PM by InsuredApple

No comments:

Post a Comment