Is it possible to use a cookie file when oppening a chromium browser. Now all data of browser is saved under directory set with user-data-dir flag. One of those things is also Cookies file. I would like to get all cookies, save them in a file and when oppening a new browser, I would like to tell the browser to use those cookies.
Fetching all cookies I use this library: https://github.com/cyrus-and/chrome-remote-interface
I read that there is a flag called enable-file-cookies, but I cannot get it to work with it. As I understand, this flag doesnt work anymore.
What type of file, do we need to set as a Cookie file?