HTML from a JavaScript rendered page
Snippet
Written with a loving hand by kitt some time around 12:35 on 14 December 2015
Saving a page source with javascript rendered elements means you get the script tags, but not the rendered page.
Barring a browser plugin, this'll do.
/* display in console */ console.log(document.getElementsByTagName('html')[0].innerHTML); /* or copy to the clipboard */ copy(document.body.innerHTML);
Add new comment