sdesalas / trifleJS

Headless automation for Internet Explorer
http://triflejs.org/
MIT License
825 stars 51 forks source link
automation browser headless internet-explorer

trifjeJS

A headless Internet Explorer browser using the .NET WebBrowser Class with a Javascript API running on the V8 JavaScript Engine.

The API is coded as a port of PhantomJS. Basically, if you have used phantom before then you already know how to use TrifleJS.

What is TrifleJS?

It supports different version of IE interchangeably depending on the current version installed (IE9 can emulate IE7, IE8 or IE9 but not IE10).

C:\> TrifleJS.exe --emulate=IE8 --render=http://whatbrowser.org/

IE 8

The following is a list of features that have been ported from PhantomJS.

We are targetting version 1.7 as webdriver support (added in v 1.8) is too much work to put in at this stage and provides only marginal benefit.

API Implementation

We are a bit over two-thirds through the PhantomJS API at v1.7.

More information on each component is available on triflejs.org:

Some of the big ticket items currently missing from the automation are:

Some items that are being deliberately left out:

Roadmap

Download

This code is still very much in beta. Check again for updates.

If you are not sure which version to use then download the ‘Latest Stable’ version.

System Requirements

The ideal installation is Windows 7 (with .NET 4.0 or higher) using IE11, however this will still work in 32-bit XP (with SP2) or versions of the Windows NT Kernel released after 2001.

Here is a breakdown of current unit tests:

Windows Version IE 8 IE 9 IE 10 IE 11 EDGE 12
XP (SP2) Broken N / A N / A N / A N / A
Vista 32/64bit N / A N / A N / A
Ser 2003 32/64bi N / A N / A N / A
Win7 32bit 100% 100% 100% 100% N / A
Win7 64bit 100% 100% 100% 100% N / A
2008R2 64bit N / A
Win8 32bit N / A
Win8 64bit N / A
2012R2 64bit 100% 100% 100% 100% N / A
Win10 32bit
Win10 64bit
Ser 2016 64bit

Key: