Test Browsers In Virtual Machines
You can fire up a virtual machine with a specific browser installed and test against that.
There are various possible sources of the VM images:
IE Versions and platforms
- Modern IE provides VM with the OS and Browser installed, to run on Linux, Windows & OS-X under Virtual Box (on all three platforms), VMWare (Win/OS-X), HyperV 2008/2012 (Windows) or Parallels (OS-X). Possible combinations are:
- IE 6 on XP
- IE 7 on Vista
- IE 8 on XP on Win7
- IE 9, 10 & 11 on Win7
- IE 10 on Win8
- IE 11 on Win8.1
- Edge on Win10
Other Windows Browsers
- Of course since these virtual machines have full operating systems on you can potentially install other browsers as well.
- With the facility to create your own VMs, (free in VirtualBox), you can install one or more clean version of Windows into virtual images and add specific browsers to those images.
- If you use VirtualBox, or pay for the facility in some of the others, you can also create various Linux distribution images with the various browsers installed for testing.
- If you can get hold of installers or images for OS-X you can test on that as well.
- "Assuming VirtualBox you can run on Windows, Linux, Macintosh, and Solaris hosts and install a large number of guest operating systems including but not limited to Windows (NT 4.0, 2000, XP, Server 2003, Vista, Windows 7, Windows 8), DOS/Windows 3.x, Linux (2.4, 2.6 and 3.x), Solaris and OpenSolaris, OS/2, and OpenBSD."
You might also like to take a look at the Android Developers SDK for Android Studio as this includes emulators for various Android Devices with different versions of Android, screen sizes, etc., and you can potentially download optional browsers to the emulators. I suspect that the SDKs for other mobile platforms will provide something similar.
Run W3C Validators
You would also be well advised to check your code with one or more of the W3C validators here, they are available online but most, if not all, of them have the code available to download and run yourself offline - click on check the code and look for readme files for instructions.