Loading into remote firefox instances via web-ext run
See original GitHub issueIs this a bug or feature request?
feature request
What is the expected or desired behavior?
web-ext run should be able to attach to a remote (different machine/VM/container) firefox instance, Something like web-ext run --remote-firefox=X.X.X.X:YYYY
see also: #518
Issue Analytics
- State:
- Created 7 years ago
- Reactions:5
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Getting started with web-ext | Firefox Extension Workshop
Test an extension in Firefox by cd 'ing into your extensions's root directory and entering: web-ext run. This starts Firefox and loads the ......
Read more >Extensions & Experiments - Firefox Source Docs - Mozilla
The web-ext command-line tool makes the extension-development workflow very simple. Simply start it with the run command, passing it the location of the...
Read more >Example extensions - Mozilla - MDN Web Docs
Name Description JavaScript APIs
dynamic‑theme Dynamic theme example alarms.create · alarms.onAlarm · them...
emoji‑substitution Replaces words with emojis.
top‑sites Demonstration of the topSites API. topSites.get
Read more >Is there any way to run an extension for debug on Android ...
On Desktop FireFox, there is “Debug Add-ons” menu that allows me to load the ... for Android then you should be able to...
Read more >1309288 - Install addons permanently from about:debugging
My recommendation would be to make use of Nightly along with web-ext. While you are immediately bugfixing you can use web-ext run or...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
In my case, I run everything that depends on
node_modules
inside a Docker container. It would be great if I could also runweb-ext
from there an point at my host Firefox instance.The relevant logic is now part of web-ext itself, at https://github.com/mozilla/web-ext/blob/666886f40a967b515d43cf38fc9aec67ad744d89/src/firefox/remote.js (and https://github.com/mozilla/web-ext/blob/666886f40a967b515d43cf38fc9aec67ad744d89/src/firefox/rdp-client.js for the logic that connects via the remote debugging protocol).
It does still not support the ability to connect to an arbitrary host (other than the default
127.0.0.1
). But even if it did, then we would still not be able to install an add-on on a remote machine, because the installation mechanism requires a file path, and the file path would be a path to a local file instead of the remote host: https://github.com/mozilla/web-ext/blob/666886f40a967b515d43cf38fc9aec67ad744d89/src/firefox/remote.js#L139-L143Supporting this use case is a non-trivial amount of work.