Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sdesalas/trifleJS
Headless automation for Internet Explorer
https://github.com/sdesalas/trifleJS
automation browser headless internet-explorer
Last synced: 9 days ago
JSON representation
Headless automation for Internet Explorer
- Host: GitHub
- URL: https://github.com/sdesalas/trifleJS
- Owner: sdesalas
- License: mit
- Archived: true
- Created: 2013-09-04T07:07:45.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2020-01-27T21:44:50.000Z (almost 5 years ago)
- Last Synced: 2024-04-16T04:56:05.341Z (7 months ago)
- Topics: automation, browser, headless, internet-explorer
- Language: JavaScript
- Homepage: http://triflejs.org/
- Size: 118 MB
- Stars: 828
- Watchers: 44
- Forks: 58
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE.MIT
Awesome Lists containing this project
- awesome-regression-testing - trifleJS - Headless automation for Internet Explorer. (Browser automation)
- awesome-regression-testing - trifleJS - Headless automation for Internet Explorer. (last update 2016) (Deprecated)
README
![trifjeJS](https://raw.github.com/sdesalas/trifleJS/master/Docs/logo-260x260px.png "trifleJS")
A headless Internet Explorer browser using the [.NET WebBrowser Class](http://msdn.microsoft.com/en-us/library/system.windows.forms.webbrowser.aspx) with a Javascript API running on the [V8 JavaScript Engine](http://en.wikipedia.org/wiki/V8_(JavaScript_engine)).
The API is coded as a port of [PhantomJS](http://phantomjs.org). Basically, if you have used phantom before then you already know how to use TrifleJS.
![What is TrifleJS?](https://raw.github.com/sdesalas/trifleJS/master/Docs/What.Is.Trifle.png "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](https://raw.github.com/sdesalas/trifleJS/master/Docs/whatbrowser.org.IE8.png "Running as 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](http://phantomjs.org/api/) at `v1.7`.
- [API Status (77%)](http://triflejs.org#post-112)
More information on each component is available on [triflejs.org](http://triflejs.org):
- [Command Line Options](http://triflejs.org#post-29)
- [Global Methods](http://triflejs.org#post-11)
- [Object: phantom](http://triflejs.org#post-18)
- [Module: System](http://triflejs.org#post-24)
- [Module: FileSystem](http://triflejs.org#post-27)
- [Module: WebPage](http://triflejs.org#post-20)
- [Module: WebServer](http://triflejs.org#post-63)
- [Module: ChildProcess](http://triflejs.org#post-222)
- [New Features](http://triflejs.org/#post-31)Some of the big ticket items currently missing from the automation are:
- IE Windows (File Upload, SSL Certificate Error)
- Mouse / Keyboard interaction
- ChildProcess moduleSome items that are being deliberately left out:
- Support for WebDriver
### Roadmap
- `v0.3` - 56% of PhantomJS API ([Release Notes](https://github.com/sdesalas/trifleJS/releases/tag/v0.3))
- `v0.4` - 72% of PhantomJS API ([Release Notes](https://github.com/sdesalas/trifleJS/releases/tag/v0.4))
- `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](https://github.com/n1k0/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.
- [Stable `v0.4`](https://github.com/sdesalas/trifleJS/releases/download/v0.4/TrifleJS.zip)
- [Latest Beta `v0.5`](https://github.com/sdesalas/trifleJS/raw/master/Build/Binary/TrifleJS.Latest.zip)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](http://en.wikipedia.org/wiki/Comparison_of_Microsoft_Windows_versions#Windows_NT) 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:
- 100%: Passing all unit tests
- 1-99%: Passing some unit tests
- Broken: Build broken.
- (blank): Untested
- N / A: IE Version unavailable in this platform