I want to get all the cookies from a BrowserWindow object, including HTTPonly cookies.
I’ve read through the documentation that the following code will output all the cookies being used in the BrowserWindow:
This returns an empty cookies object:
If I use the following code, I do get all the cookies except for the much needed HTTPonly (which are not returned due to security purposes):
Why is it that the session returns no cookies? How can this be fixed?
I’m using Electron:
Thanks for your help in advance!