Default cookie store (saving cookies to json file and loading from it) should be disabled when user pass userDataDir into puppeteer options.
Btw, using userDataDir i better for saving session becasue according to me is safer. Using multiple accounts I have problem with maintain session on default cookie store but using userDataDir it works fine using multiple accounts.
I tested it and it works. Currently only set for upload method because I can't test it on other methods.
Default cookie store (saving cookies to json file and loading from it) should be disabled when user pass
userDataDir
into puppeteer options.Btw, using
userDataDir
i better for saving session becasue according to me is safer. Using multiple accounts I have problem with maintain session on default cookie store but usinguserDataDir
it works fine using multiple accounts.I tested it and it works. Currently only set for
upload
method because I can't test it on other methods.