Hello,
I'm looking for something that can read a webpage in javascript but without a browser, so I found JSDOM.
I was trying to get information from a website using this example:
const jsdom = require("jsdom");
const { JSDOM } = jsdom;
console.log(dom.serialize())
});
But when I save the result in html and opened it with any browser, the page wasn't fully loaded. So I think may be it's need to execute some script to add a delay time to load page.
Please can you give me some advice or solution?
Thanks.
Best regards,
Pedro Ferreira