Reputation: 47
I want to reduce risk of having google recaptcha to solve, so I want to be always logged in on gmail, just like on normal chrome. I dont want to manually login every browser start. How can I do that?
Upvotes: 1
Views: 2247
Reputation: 86
You can use 'userDataDir' option ,while launching puppeteer. 'userDataDir' is a path to browser's user data directory. Find user directory by using "chrome://version" URL. UserDataDir is parent of Profile path. refer [https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#puppeteerlaunchoptions]2
Upvotes: 1