How to Test Your Frontend Against Internet Explorer Without Booting Windows
• Erik L. Arneson
Internet Explorer (IE) has been frustrating me. I want to use stronger words than that, but it would be unprofessional.
I recently launched the Philalethes E-Bulletin Online Reader, which uses EPUB.js and an implementation of XPath that, for some strange reason, isn’t available in IE. I found a few solutions which would work, but all of them require testing in IE. Of course.
This seems like it wouldn’t be a problem, except that I run Linux all the time. All of my work happens on the Linux side of things, so booting into Windows just to run IE for one tiny bug fix is an inconvenience and a chore.
A friend of mine pointed me to modern.IE. Microsoft has graciously released virtual machines usable under MacOS and Linux for running IE and testing. Be warned, however, that the license only lasts 90 days.
I downloaded the 3.5GB virtual machine image and loaded it up in VirtualBox. This might be unusual, but I don’t do a lot of work with virtual machines on my development box. I was immediately greeted with this: [caption id=”attachment_269” align=”aligncenter” width=”530”] Don’t worry, the loading time was a lie. It only took 5 minutes.[/caption]
This solution is not the best for my setup. My computer is getting long in the tooth, so VirtualBox runs neither quickly nor smoothly. However, in this situation, I only needed to test a few lines of code, so it worked.
In my next blog post, which should be coming out shortly, I’ll talk about how I got the Philalethes E-Bulletin Online Reader working for IE.