How to pass userDataDir profile folder to Puppeteer
问题 I want to pass a custom profile to Puppeteer. To start I've tried to pass my real Google Chrome profile: const browser = await puppeteer.launch({ userDataDir: '/Users/[USERNAME]/Library/Application Support/Google/Chrome/Default', headless: false, slowMo: 250, ... } but when the browser opens if I go to Settings it shows Person 1 rather than the data from my Google Chrome profile The userDataDir path above is what is shown in Profile Path when on Google Chrome I visit chrome://version (where