Forrest logo
back to the web-ext tool

web-ext:tldr:0e731

web-ext: Run a web extension from a specific directory in Firefox.
$ web-ext run --source-dir ${path-to-directory}
try on your machine

The command web-ext run is used to run a web extension in a browser. The --source-dir flag is used to specify the directory location where the extension's source code is located.

${path-to-directory} is a placeholder for the actual path to the directory containing the extension's source code. You need to replace ${path-to-directory} with the actual path when using the command.

By running this command with the proper path to the directory, the web extension will be launched in a browser for testing and debugging purposes.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the web-ext tool