Skip to content

joycelan/trifleJS

 
 

Repository files navigation

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:

  • IE Windows (File Upload, SSL Certificate Error)
  • Mouse / Keyboard interaction
  • ChildProcess module

Some items that are being deliberately left out:

  • Support for WebDriver

Roadmap

  • v0.3 - 56% of PhantomJS API (Release Notes)
  • v0.4 - 72% of PhantomJS API (Release Notes)
  • v0.5 - (work in progress..)
  • v0.6 - 100% of PhantomJS non-WebPage modules, 80% of WebPage module API
  • v0.7 - 100% of PhantomJS Core API (v1.7) + internal unit tests
  • v0.8 - CasperJS Support (implement Test suite and fixes)
  • v0.9 - Testing and Support for Windows platforms (after XP SP2).
  • v1.0 - Only minor Bugfixes left
  • v1.1 - Nice to haves (WebDriver, improved IPC, REPL Autocompletion etc)

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 (which includes .NET 3.5) using IE11, however this will still work in 32-bit XP (with SP2) or versions of the Windows NT Kernel released after 2001.

Software Version
Windows XP (SP2), 7, 8, Server 2003+
Internet Explorer 7, 8, 9, 10 or 11
.NET Framework 3.5+

About

Headless automation for Internet Explorer

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 59.1%
  • C# 40.7%
  • Other 0.2%