I do not find any APIs to directly support the dom capture.
But the html2canvas and kendo.drawing.drawDom libraries
take a lot of resources which potentially impacts the performance of my application.
I am not able to run these in the Worker since the dom is needed for these libraries to work but Worker does not share the dom.
Since most browsers show the thumbnails view for recently visited pages(Firefox has the screenshot utility too
) can we use this support?
My requirement is to capture the dom of a page opened ( in the background , otherwise it will impact app performane) when a user navigates to a page. I would not have control over the browser(it can be any browser) or the amount of time user going to stay on the page (the page may be hidden state [display: none or visibility: hidden]). I am using Jquery-3.1.1 and Kendo.Ui.