Firefox Puppeteer not importing
See original GitHub issueSteps to reproduce
Tell us about your environment:
- Puppeteer version: 2.1.1
- Platform / OS version: MacOS Catalina 10.15.3
- URLs (if applicable):
- Node.js version: 12.6.0
What steps will reproduce the problem?
Please include code that reproduces the issue.
- import * as puppeteerFirefox from ‘puppeteer-firefox’
What is the expected result?
The import should pull in puppeteer-firefox as import puppeteer from 'puppeteer'
pulls puppeteer
What happens instead?
Could not find a declaration file for module ‘puppeteer-firefox’. ‘/Users/<path>/node_modules/puppeteer-firefox/index.js’ implicitly has an ‘any’ type.
Try npm install @types/puppeteer-firefox
if it exists or add a new declaration (.d.ts) file containing declare module 'puppeteer-firefox';
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
how do you install and run puppeteer for firefox - Stack Overflow
I am trying to open a url and I am getting a data URL error in chrome console so I am moving to...
Read more >How to run Tests in Puppeteer with Firefox - BrowserStack
Puppeteer extended its support to Firefox. Read tutorial on how you can run tests in Puppeteer with the Firefox browser with help of ......
Read more >Puppeteer causes Firefox to freeze because stdout/stderr ...
Puppeteer causes Firefox to freeze because stdout/stderr pipes are no longer processed.
Read more >FAQ | Puppeteer
Q: Which Firefox version does Puppeteer use?. Since Firefox support is experimental, Puppeteer downloads the latest Firefox Nightly when the PUPPETEER_PRODUCT ...
Read more >puppeteer-firefox - npm
The puppeteer-firefox package will remain available until the transition is complete, but it is no longer actively maintained.
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
Ah, I think the ‘Could not find browser message’ might be a confusing.
If you want puppeteer to download Firefox as part of installation you should run something like
PUPPETEER_PRODUCT=firefox yarn add puppeteer@next
.Firefox support is experimental so you will encounter timeouts for features that aren’t supported yet.
If you could share more information about your test suite (link to project?), including debug logs for a Chrome run (e.g.
DEBUG=puppeteer:* yarn:test unit
) that can help prioritize feature work in Firefox’s remote protocol implementation.