-
-
Notifications
You must be signed in to change notification settings - Fork 744
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] stealth plugin on Firefox throw TypeError: Cannot read properties of null
#576
Comments
Also worth mentioning that Firefox has a |
We currently don't pay much attention to Firefox while developing The new The situation with Playwright + FF is better though as they're using custom browser patches to bruteforce better CDP support into FF lol. I wrote more about this in the wiki: https://github.com/berstend/puppeteer-extra/wiki/Is-Puppeteer-Firefox-ready-yet%3F I haven't checked recently if the situation improved but I pretty much doubt it. Closing this for now as "WONTFIX" but happy to discuss this further. |
An issue that might come from that: Enabling it might make the browser "stick out" more, which we generally try to avoid in scraping |
sorry just saw this message, but yeah that makes sense, in fact I actually ended up running into quite a few issues with Firefox so I went back to using a Chrome scraper anyways. I was looking into the issues with |
I encountered the same problem in chromium. |
Steps to reproduce:
PUPPETEER_PRODUCT=firefox npm install puppeteer puppeteer-extra puppeteer-extra-plugin-stealth
You should get error
The issue seems to be in user-agent-override/index.js line 82
I tested it and for Firefox, seems like
page.browser().version()
returnsFirefox
instead of a version number. Will need to do some further research to see how to retrieve the version number for Firefox (aside from extracting it directly from the user-agent).The text was updated successfully, but these errors were encountered: