MultiFirefox - Multiple Firefox Profile Manager
You could do it with a shell script, or you could create multiple profiles using the profile manager in Firefox and launch it every time to select a profile. Or you could use MultiFirefox, an app that has made web development and testing so much easier.
As any informed web