Is there a way to have Multi-Account Containers already loaded and activated when running `web-ext run`?


(Michael Wright) #1

I’m writing a web extension that depends on Multi-Account Containers. is there a way to have Multi-Account Containers already loaded and activated when running web-ext run? At the moment, I’m installing the MAC by hand.


(Martin Giger) #2

You can specify a profile to use: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Getting_started_with_web-ext#Using_a_custom_profile

So you’d create a testing profile with MAC already installed. Note that it will still be duplicated for running and changes won’t persist unless you set the flag for that, too (next section in the docs).


(Michael Wright) #3

It’s working. Thanks!