Web developers have a duty to ensure their shiny new web site or application works on a variety of browsers. At the absolute minimum, that means Chrome/Opera, Firefox, and Internet Explorer. Ideally, Safari and a few mobile iOS and Android browsers would complete the job.
Testing is not easy. It’s laborious and our efforts are thwarted by the availability of browsers on our OS of choice. Windows/Linux users cannot install Safari and Mac/Linux users cannot install Internet Explorer.
Services such as BrowserStack can help but are only suitable for basic testing because it’s difficult to use developer tools. The most viable option is to use another PC or install the OS/browser in a virtual machine environment such as VirtualBox, VMware or Hyper-V.
To their credit, Microsoft provide a range of VM images at modern.ie but the downloads can be several Gigabytes in size because they include the whole OS stack. They also expire after several months. It’s not conducive to quick and dirty testing and, somewhat understandably, many developers don’t bother.
Fortunately, Microsoft has created a faster, slicker option. RemoteIE allows you to run the latest version of Internet Explorer from the cloud on Windows, Mac, iOS, or Android without having to install or manage a virtual machine. The free service is currently in beta but it works and is technically stunning!
To start, visit remote.modern.ie and sign in with a Microsoft account. You may already use one if you use Windows 8+, OneDrive, or Outlook.com. You’ll then need to wait for your RemoteIE access to be approved — I received an email after a couple of hours.
You can then download the Azure RemoteApp which is available for Windows (32 and 64-bit), Windows RT, Mac OS, iOS iPhone, iOS iPad, and Android. This is typically around 15MB; it varies from device to device but need only be installed once.
You can then launch RemoteApp and sign in with the Microsoft account you used to register. You’ll be presented with an “IE Technical Preview” icon:
Double-click it to launch the Windows 10 Preview edition of Internet Explorer:
It’s a full version of the browser with access to the F12 developer tools. You won’t be permitted to access the settings or install add-ons, but it’s fast and ideal for quick site testing.
RemoteIE is an online application so it can only access publicly-available web sites. If you want to test from your local PC or network, you can use a free tool such as ngrok to create an HTTP tunnel to your application. For example, if you have a local web server running on port 80, enter:
ngrok will return an address such as http://abcd9876.ngrok.com/ which you can enter into RemoteIE (or pass to anyone off-site) for further testing.
RemoteIE will revolutionize Internet Explorer testing for many. However, remember that it’s currently a beta service and usage is limited — it took me several attempts to gain access because others were using it.
Other points to note:
- You’ll only have an hour to test your site and will be booted off if you’re inactive for more than a minute.
- There’s no Linux support. I guess this is technically possible given it can be run on Android and Mac OS but it’s not available at the time of writing.
- You can only test the latest IE. That’s the most useful version but it’s normally well-behaved and you’ll experience far fewer issues than IE8. Microsoft is considering other versions but this will become increasingly unnecessary given that IE8 usage has dropped below 5%.
RemoteIE is impressive. Now if we can just encourage Apple to provide Safari in a similar way…
Craig is a freelance UK web consultant who built his first page for IE2.0 in 1995. Since that time he's been advocating standards, accessibility, and best-practice HTML5 techniques. He's created enterprise specifications, websites and online applications for companies and organisations including the UK Parliament, the European Parliament, the Department of Energy & Climate Change, Microsoft, and more. He's written more than 1,000 articles for SitePoint and you can find him @craigbuckler.
Jump Start Git, 2nd Edition
Visual Studio Code: End-to-End Editing and Debugging Tools for Web Developers