Can't install Firefox Puppeteer on Windows 10
See original GitHub issueSteps to reproduce
Tell us about your environment:
- Puppeteer version: 8.0.0
- Platform / OS version: Windows 10
- URLs (if applicable):
- Node.js version: v12.16.2
What steps will reproduce the problem?
Please include code that reproduces the issue.
I was trying to install Firefox By the command: PUPPETEER_PRODUCT=firefox npm install puppeteer
What is the expected result?
got the next error:
PUPPETEER_PRODUCT=firefox : The term 'PUPPETEER_PRODUCT=firefox' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
What happens instead?
It didn’t work
What am I doing wrong? (I tried on linux and it worked fine , but I need it to work on Windows 10)
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
How to install Firefox for Puppeteer?
Delete the puppeteer folder from node_modules. This is to force puppeteer to be reinstalled with the firefox binary in step 2.
Read more >How to Run Puppeteer with Firefox Instead of Chrome
First, you need to delete the /puppeteer folder from your /node_modules folder. The Chromium browser is downloaded in the /node_modules/puppeteer folder when ...
Read more >How to run Tests in Puppeteer with Firefox
Set up basic Puppeteer Framework. Step 1: To run Puppeteer tests with Firefox, set the environment variable for Puppeteer firefox using: Windows ......
Read more >Puppeteer install and run firefox browser programmatically
... programmatically download and run the firefox binary using Puppeteer.We will be using puppeteer. ... Your browser can't play this video.
Read more >Use Playwright to automate and test in Microsoft Edge
Install Playwright and browsers; Run a basic test ... Playwright is a Node.js library to automate Chromium, Firefox, and WebKit with a ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

This helped me:
npm config set puppeteer_product=firefox
npm install puppeteer
it think on windows you have to set env var in cmd like:
set PUPPETEER_PRODUCT=firefox&& npm install puppeteer