如何多实例运行Firefox

How to Install & Run Multiple Firefox Versions in Windows Simultaneously

 

Posted on February 4, 2011 by dennisplucinik in Business | Tagged with: browsers, Firefox, QA

When developing websites, you need to test in multiple browser versions, at the same time. Fortunately Firefox has an easy way to do this.

The process involves doing the following:

  1. Creating a "profile" for each browser version
  2. Adding a parameter to the shortcut target

Step 1: Create a profile for each browser version
To open Profile Manager, type cmd+r in Windows to open up the Run prompt and type this in:

"C:\\Program Files\\Mozilla Firefox3.5\\firefox" -profilemanager -no-remote

Profile Manager

This will open up the Profile Manager. What you need to do is create a profile for each version you plan on running. So click "Create Profile", and then enter your profile name. I recommend naming it something like Firefox35, Firefox36, etc. so it's easily identifiable. Click "Finish" and make sure to check the "Don't ask at startup" box ;)

The Profile Manager is really meant to be used to allow multiple users of one machine (think about a family) to have different plugins, themes, bookmarks, etc. on whatever is the current Firefox installed. The key to making it work for us developers is to augment the shortcut target with a couple parameters that will auto-load a specific profile (i.e., -P, & -no-remote)

Step 2:
Right-click your shortcut icon, click Properties, and modify the "Target" value like so:

"C:\\Program Files\\Mozilla Firefox3.5\\firefox" -P FireFox35 -no-remote

target

Do this for each other version of Firefox you want to run and you should be good to go. The -P allows you to choose the profile, and the -no-remote allows you to run muiltiple versions at the same time. Also, remember to install each different version in a different folder. I have only ever done this for Windows however now that I'm running Mac OS X as well, I'll try and come back to this post and add some updates. I hope this was helpful!

转载于:https://my.oschina.net/jacobin/blog/145128

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值