Closed ghost closed 3 years ago
@snobu Puppeteer supports Firefox natively since version 3.0. (Source)
The problem @alds-02agem experiences might be due to a different set of flags needed to be passed to the firefox binary.
I haven't made it to work myself, but it should theroretically work with the correct puppeteer config.
If you look in package.json we are using puppeteer 2.1.1. Try to upgrade to 3.x then, hopefully no other changes are necessary.
The aria2c_forRealNow branch currently uses puppeteer 5.3.0. That might also be an option.
I used Firefox while testing my branch and it did work, so @alds-02agem you could try the new branch or update puppeteer in the master branch
Puppeteer talks DevTools protocol which is Chromium only. You'll want Microsoft's Playwright to go cross browser,, including Firefox. Should be an easy change in destreamer.ts. Maybe, not sure, everything looks trivial if you don't personally need it :)
https://github.com/microsoft/playwright