3 Star 0 Fork 0

Gitee 极速下载 / triflejs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/sdesalas/trifleJS
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

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 (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:

  • 100%: Passing all unit tests
  • 1-99%: Passing some unit tests
  • Broken: Build broken.
  • (blank): Untested
  • N / A: IE Version unavailable in this platform
The MIT License (MIT) Copyright (c) 2013 Steven de Salas Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

暂无描述 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/mirrors/triflejs.git
git@gitee.com:mirrors/triflejs.git
mirrors
triflejs
triflejs
master

搜索帮助

14c37bed 8189591 565d56ea 8189591