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
Load extensions on Windows #2733
Comments
I temporary solved this issue by removing |
This is the way to go for now; we might do a nicer extensions support eventually. |
but then it does not load any extentions |
I am also unable to load my extension, I am following the same commands but instead of puppeteer I am using puppeteer-core, I do get the error saying that loading extensions is disabled by admin and the extension will not any thoughts? |
Same issue with loading extension with puppeteer on windows. |
Getting. Manifest file missing while loading extensions.I downloaded crx file of the extension then I converted it to zip file then its relative path added. Whats wrong? |
I finally fixed this exact error/issue with ublock. I had originally made several errors. It now works.
Here's the working code:
In /puppeteer-extensions/, I changed /chromium.ublock0.152341/ or whatever to plain /ublock/, and deleted a nested sub-directory with an equally funky name. Within /ublock/ there is a manifest.json. Many extensions have multiple layers of weird-named directories. Change the dir names to something simple like /ublock/, and then make sure your line declaring the extension has that directory path typed perfectly in your code. @Ajju2211 I think you should unzip the extension and absolute/relative path to the directory that contains manifest.json. |
How about having a Chrome Web Store (CWS) extension installed and just having that not removed and not disabled and such? |
|
@danielehrhardt how did you come up with that JS? where did you find it works? can you give any more information? what version etc? |
Steps to reproduce
Tell us about your environment:
What steps will reproduce the problem?
Please include code that reproduces the issue.
I needed to load a extension that a page requires, so I added
--disable-extensions-except
and--load-extension
args but it doesn't load on windows. The full args I passed were:And the result was:
What is the expected result?
Load extensions properly.
What happens instead?
I think if I pass the extension path as a relative path it might be work but I also think that is so awful.
The text was updated successfully, but these errors were encountered: