webContents.savePage with embedded webview?



I’ve build a little utility that captures and snapshots web sites and make them available offline. For this I use a background BrowserWindow that uses a webview to load the external web content and save a preview image (webContents.save) as well as an archive (currently using website-scraper) of the page.

As Electron has a build-in functionality to save the content of a page now I was trying to adapt to it, but have to notice that it just saved my external browser window content, not the content of the webview it contains.

Any hints?