ZFC-Digital / puppeteer-real-browser

This package is designed to bypass puppeteer's bot-detecting captchas such as Cloudflare. It acts like a real browser and can be managed with puppeteer.
https://www.npmjs.com/package/puppeteer-real-browser
MIT License
783 stars 95 forks source link

How to start with a profile #183

Closed HamiguaLu closed 1 month ago

HamiguaLu commented 1 month ago

Hi It works great for me Only one issue, I want to start the browser with a given profile, I passed the below option to args in connect '--user-data-dir=D:\\proj2022\\social_media\\twitter_auto\\bw_profiles\\wentao',

But it seems doesn't work

rainb3rry commented 1 month ago
customConfig: {
userDataDir: `D:\\proj2022\\social_media\\twitter_auto\\bw_profiles\\wentao`
}
HamiguaLu commented 1 month ago
customConfig: {
userDataDir: `D:\\proj2022\\social_media\\twitter_auto\\bw_profiles\\wentao`
}

Thanks, this works for me