-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Headless mode does not load enabled browser extension #2819
Comments
Unfortunately, chrome headless doesn't support extensions (this has been discussed for quite a while). We should highlight it somewhere in our docs, or better expand on the whole extensions support in Puppeteer (it's getting better and better, especially with #2812 on the horizon). |
For the record: filed #2823 for the docs. |
how to load multiple extensions?? |
@JackieGe you can load multiple extensions this way:
|
Hey folks, thanks for updating the docs to note that Chrome Headless doesn't currently support extensions. I'm curious about that closing this issue—where is adding headless support for extensions tracked? Glad to file an issue somewhere if one doesn’t exist. |
anything new or planned here? or a workaround? |
Running puppeteer with an enabled browser extension in headless mode does not invoke this browser extension. If I turn off the headless mode it works as expected.
Since it's explicit listed with
headless: false
in the docs, it seems to be the correct behaviour, but also unexpected (at least for me). Would be interested why extensions are limited that way in puppeteer.The text was updated successfully, but these errors were encountered: