mainWindow.webContents.executeJavaScript('localStorage.getItem("key");', true)
.then((result) => {
    console.log(result) 
})
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *