Access downloaded resources

21 views
Skip to first unread message

Enrique Andrade González

unread,
Mar 26, 2019, 6:21:36 AM3/26/19
to jsdom
Hi guys:

I need to access the downloaded resources, specifically external scripts (javascripts).

JSDOM.JSDOM.fromURL(url, {
    resources
: resourceLoader,
    runScripts
: "dangerously",

}).then(function (dom) {
}

Is it possible to access the content of the scripts? Without having to download them separately?

With the defined properties are already being downloaded and executed.

Thanks!
Reply all
Reply to author
Forward
0 new messages