How can i get webpage content with "node-integration=false"


how can i get webpage content with node-integration=false?

i want to use electron to get some content form other webpage, like “”.

executeJavaScript() seems good , but it returns nothing.

If node-integration=true, i have idea to get content.
But some dynamic webpage will load incorrectly.
so i have to make node-integration=false

please help me , thanks.


Did you get a solution?


If you go to the BrowserWindow documentation and search for nodeIntegration, you’ll see that you can disable Node integration on a per-window basis.