I\'m trying to convert an HTMLCanvasElement into an image:
window.open(document.querySelector("canvas.page").toDataURL())
returns: