I want to use fetch or axios to download a html content of a page, this works fine but the javascript code inside the page does not run
here is what i’ve tried
document.getElementById('test').innerHTML=
await (await fetch('url')).text()
what i want is similar to this answer, but i want to get the page with the javascript inside processed instead of running a script.
Can I run a JS script from another using `fetch`?
My goal is to create a boostrapEmail template that i can send parameters and make it dynamic, using localstorage