Your better of using a browser compatibility program... Or an online service. I cant remember any of the free ones off of the top of my head, but the one I use that isn't terribly expensive is http://www.browsercam.com. A quick google search should turn up the free ones. There is one really good one out there I used to use. I just use browsercam because of the fact that it supports so many browsers.
Otherwise you will have to create a virtual environment for each browser version.