I need to use an existing Firefox profile in Puppeteer using NodeJS. That profile has a history, configured add-ons, proxy-servers & cookies that I need.
Asked
Active
Viewed 701 times
5
-
Not sure, but have you tried to copy the profile in to `node_modules/pupeteer/...`, analog to your local configuration? – Marc Oct 11 '21 at 08:16
-
Thanks, I will try it. But I'd like to do this with puppeteer. – Vadim Guslistov Oct 11 '21 at 08:45
-
Marc, Firefox Nightly default profile is not used when starting puppeteer. – Vadim Guslistov Oct 11 '21 at 09:18
-
Try it wit CLI args: https://stackoverflow.com/a/57614183/5781499 & https://support.mozilla.org/bg/questions/1257582?&mobile=0 – Marc Oct 11 '21 at 10:06
-
This doesn't work. I tried with full PATH to Firefox Nightly profile folder and with profile name, as in Firefox Profile Manager. – Vadim Guslistov Oct 12 '21 at 08:22
-
Then i have no other clue :/ – Marc Oct 12 '21 at 11:45
-
Marc, thanks a lot. Do any of these tips work for you? – Vadim Guslistov Oct 13 '21 at 12:34
-
I havnt tried nor i have the need to use a existing profile. That are just things that came in my mind while i read your question :) – Marc Oct 13 '21 at 13:32