autonome / puppeteer-fx

Minimal implementation of the Puppeteer API for Firefox.
MIT License
31 stars 3 forks source link

How to set custom path to firefox? #7

Open Darker opened 4 years ago

Darker commented 4 years ago

My Firefox installation is not on any of the default paths. How to set the correct path to it?

csdojo commented 4 years ago

locate node_modules\foxdriver\lib\launcher.js line 59, const suffix = '\Mozilla\firefox.exe' change this to whatever you want