How to run a Firefox instance with a temporary profile
without jpm (jpm run
) or
web-ext (web-ext run
)
-
Create a temporary profile using
firefox-profile.
-
Run firefox instance using node-firefo-connect.
-
Note:
FxRunner
returns a Promise object that is
resolved just after the Firefox process starts.
-
You do not have to delete the temporary profile.
"firefox-profile" do it on process exit.
Example: Run firefox with remote debugging