Is it possible to load and unload unpacked Chrome extensions from the Command Line?
The fix would be to talk to your IT team and find out why they have blacklisted chrome extensions, you will need them to delete them, restart your machine and run the test case again. It should be able to launch the chrome browser successfully this time.
There's however an easy workaround to this problem. First download the CRX file of any Chrome extension /web-app to your computer. Then click the Settings icon in Chrome (previously a Wrench icon) and go to Tools -> Extensions. Drag and drop the CRX file on this page and Chrome will gladly install the add-on.
Yes, although only temporarily *:
chromium --load-extension=path/to/extension
If you want to load multiple extensions, just separate the path by a comma:
chromium --load-extension=path/to/extension,path/to/another/extension
Replace chromium
with chrome.exe
(or whatever is used to start your Chrome/Chromium browser).
* When you close the browser, and starts it again without the command line argument, then the extension will disappear from the list of installed extensions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With