Monday 12 June 2017

Electron : How to access webview inside a webpage which is rendered in the render process from the main process (toPrint , etc)?

I am trying to fetch the reference of the webview that i have made available inside a webpage which is remotely hosted and i load this webpage inside my electron app.

As i need webContents instance to print silently , i want the webContents which refer to the webview inside the page.

Constraint here is , Print should be Main Process Driven and not handled by the Web Page on its own .

How can this be done ?



via Aakash Uniyal

No comments:

Post a Comment