electron-screenshot-service
electron-screenshot-service copied to clipboard
Pass cookies
Is there a way to pass page cookies?
It could be done by tweaking electron-screenshot-app
, but is there a better/simpler way?
I would love to contribute to this, if someone point me where too.
I added support for cookies in this repo https://github.com/bumbu/website-screenshot (which is a modification of electron-screenshot-service).
You can see the specific commits that add support for cookies https://github.com/bumbu/website-screenshot/commits/master
That repo has no docs, but you can see how it's used in https://github.com/bumbu/website-visual-diff/blob/master/src/index.js