I have an Electron WebView. I want to take a screenshot of its content and display it somewhere in my application.
I have tried using the webview.capturePage method, which returns a Native Image.
How can I add that image to the DOM and thus display it on my app? I'm unsure how to convert it.