Firefox provide a set of Command Line Options to configured the browser before we execute them. Ref. URL https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options
Objectives
- Open
http://localhost:3000in a new Firefox Instance for local development purposes - Use a spesific Firefox profile prepared for development purposes
- Can integrate into automation workflow as in Alfred3 App
Don't forget to create a new profile for local development, use Firefox Profile Manager in order to do this.
$ /Applications/Firefox.app/Contents/MacOS/firefox -ProfileManagerCommand to run
Execute Firefox to open a new instance of Firefox browser with the LocalDev Profile, and start with Development Tools enabled.
- Open specific URL
http://localhost:3000 - Open New Firefox Browser Instance
-new-instance - Use a spesific profile
-P "LocalDev" - With Development Tools enabled
-devtools
$ /Applications/Firefox.app/Contents/MacOS/firefox http://localhost:3000 -new-instance -P "LocalDev" -devtools