How to screenshot website in JavaScript client-side / how Google did it? (no need to access HDD) [duplicate]

This question already has answers here: Using HTML5/Canvas/JavaScript to take in-browser screenshots (7 answers) Closed 5 years ago. I’m working on web application that needs to render a page and make a screenshot on the client (browser) side. I don’t need the screenshot to be saved on the local HDD though, just kept it in … Read more