Get 2 webpages elements on one process


I’m trying to get two elements from two different sites onto a single process. I’ve tried rendering two sites into webviews and then send the cloned elements through an IPC. Obviously, that didn’t work because you can’t send DOM objects through IPC.

I’m wondering if there is a way to just render two webpages onto a single process (my window’s renderer process to be exact). Is this possible? Is PhantomJS capable of this, or can I have a single webview that just cycles another page and doesn’t delete the last one? I would then hide all the elements that aren’t those 2 selected elements. Any help is much appreciated.


I’ve found this by the one and only Max Ogden, it seems promising. If I’m on the right track, let me know!