Skip to content

savedom.js

Mark Watson edited this page Nov 30, 2016 · 2 revisions
var b = pizza.open("www.google.com");

// Get the current DOM for the main frame
var s = b.getOuterHTML();

// Save DOM with script results
pizza.saveFile("dom.html", s);

Clone this wiki locally