Skip to content

feat!: Support installing multiple extensions#2278

Open
aklinker1 wants to merge 14 commits intomainfrom
runner-mutliple-extensions
Open

feat!: Support installing multiple extensions#2278
aklinker1 wants to merge 14 commits intomainfrom
runner-mutliple-extensions

Conversation

@aklinker1
Copy link
Copy Markdown
Member

@aklinker1 aklinker1 commented Apr 17, 2026

Caution

BREAKING CHANGE

Removed installFirefox and installChromium exports for now. They may be added back in a future version.

Overview

Allow passing chromiumAdditionalExtensionDirs and firefoxAdditionalExtensionDirs to install additional extensions alongside your main extension.

await run({
  extensionDir: 'demo-extension-1',
  chromiumAdditionalExtensionDirs: ['demo-extension-2'],
  firefoxAdditionalExtensionDirs: ['demo-extension-2'],
});

TODO

  • Basic implementation
  • How do we specify different paths for different browsers? Should that be apart of the runner, or apart of the WXT integration?

    I think I'm leaning toward adding separate fields for additionalChromiumExtensionDirs and additionalFirefoxExtensionDirs over grouping them all in extensionDirs.

  • Update tests
  • Break into multiple PRs

Manual Testing

cd packages/runner
bun run dev
bun run dev firefox

Both chrome and firefox should have two extensions installed, not just one.

Related Issue

This PR closes #1997

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 17, 2026

Deploy Preview for creative-fairy-df92c4 ready!

Name Link
🔨 Latest commit 008c1ce
🔍 Latest deploy log https://app.netlify.com/projects/creative-fairy-df92c4/deploys/69ee7ddbe48aa500082dedef
😎 Deploy Preview https://deploy-preview-2278--creative-fairy-df92c4.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added the pkg/runner Includes changes to the `packages/runner` directory label Apr 17, 2026
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Apr 17, 2026

Open in StackBlitz

@wxt-dev/analytics

npm i https://pkg.pr.new/@wxt-dev/analytics@2278

@wxt-dev/auto-icons

npm i https://pkg.pr.new/@wxt-dev/auto-icons@2278

@wxt-dev/browser

npm i https://pkg.pr.new/@wxt-dev/browser@2278

@wxt-dev/i18n

npm i https://pkg.pr.new/@wxt-dev/i18n@2278

@wxt-dev/is-background

npm i https://pkg.pr.new/@wxt-dev/is-background@2278

@wxt-dev/module-react

npm i https://pkg.pr.new/@wxt-dev/module-react@2278

@wxt-dev/module-solid

npm i https://pkg.pr.new/@wxt-dev/module-solid@2278

@wxt-dev/module-svelte

npm i https://pkg.pr.new/@wxt-dev/module-svelte@2278

@wxt-dev/module-vue

npm i https://pkg.pr.new/@wxt-dev/module-vue@2278

@wxt-dev/runner

npm i https://pkg.pr.new/@wxt-dev/runner@2278

@wxt-dev/storage

npm i https://pkg.pr.new/@wxt-dev/storage@2278

@wxt-dev/unocss

npm i https://pkg.pr.new/@wxt-dev/unocss@2278

@wxt-dev/webextension-polyfill

npm i https://pkg.pr.new/@wxt-dev/webextension-polyfill@2278

wxt

npm i https://pkg.pr.new/wxt@2278

commit: 008c1ce

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.75%. Comparing base (0315882) to head (d78ef46).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2278      +/-   ##
==========================================
+ Coverage   79.61%   79.75%   +0.13%     
==========================================
  Files         130      130              
  Lines        3812     3813       +1     
  Branches      865      866       +1     
==========================================
+ Hits         3035     3041       +6     
+ Misses        691      688       -3     
+ Partials       86       84       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This was referenced Apr 17, 2026
Comment thread packages/runner/demo-extension-2/background.js Outdated
Comment thread packages/runner/src/run.ts
aklinker1 and others added 2 commits April 26, 2026 16:03
Co-authored-by: Patryk Kuniczak <p.kuniczak@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg/runner Includes changes to the `packages/runner` directory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Support loading additional extensions alongside main extension

2 participants