Home > other >  How to test web-ext in my current browser
How to test web-ext in my current browser

Time:10-02

I am using web-ext to create and test my extension. When I run web-ext run it will launch a debug Firefox with a new profile. How can I use web-ext to develop my extension using my current browser.

One major reason I want to use one browser is to maintain login sessions. I'm making an extension for a website with 2FA and their security is going haywire (as it should). Instead, I have saved the pages as Complete HTML and I'm developing using cached versions of the page.

CodePudding user response:

You can't run your extension in the current browser. You can however run your extension with your existing profile using "--firefox-profile", but it will still run a new instance of the browser.

  • Related