# [PhantomJS](http://phantomjs.org) - Scriptable Headless WebKit
PhantomJS ([www.phantomjs.org](http://phantomjs.org)) is a headless WebKit scriptable with JavaScript. It is used by hundreds of [developers](http://phantomjs.org/buzz.html) and dozens of [organizations](http://phantomjs.org/users.html) for web-related development workflow.
The latest [stable release](http://phantomjs.org/release-1.9.html) is version 1.9 (codenamed <a href="http://phantomjs.org/release-names.html">"Sakura"</a>). Follow the official Twitter stream [@PhantomJS](http://twitter.com/PhantomJS) to get the frequent development updates.
The next major version, PhantomJS 2, is a significant upgrade. It is still in [heavy development](https://github.com/ariya/phantomjs/wiki/PhantomJS-2). There is **no timeline** for the release yet, please monitor the [mailing-list](https://groups.google.com/forum/#!forum/phantomjs) for the progress.
**Note**: Please **do not** create a GitHub pull request **without** reading the [Contribution Guide](https://github.com/ariya/phantomjs/blob/master/CONTRIBUTING.md) first. Failure to do so may result in the rejection of the pull request.
## Use Cases
- **Headless web testing**. Lightning-fast testing without the browser is now possible! Various [test frameworks](http://phantomjs.org/headless-testing.html) such as Jasmine, Capybara, QUnit, Mocha, WebDriver, YUI Test, BusterJS, FuncUnit, Robot Framework, and many others are supported.
- **Page automation**. [Access and manipulate](http://phantomjs.org/page-automation.html) web pages with the standard DOM API, or with usual libraries like jQuery.
- **Screen capture**. Programmatically [capture web contents](http://phantomjs.org/screen-capture.html), including CSS, SVG and Canvas. Build server-side web graphics apps, from a screenshot service to a vector chart rasterizer.
- **Network monitoring**. Automate performance analysis, track [page loading](http://phantomjs.org/network-monitoring.html) and export as standard HAR format.
## Features
- **Multiplatform**, available on major operating systems: Windows, Mac OS X, Linux, and other Unices.
- **Fast and native implementation** of web standards: DOM, CSS, JavaScript, Canvas, and SVG. No emulation!
- **Pure headless (no X11) on Linux**, ideal for continuous integration systems. Also runs on Amazon EC2, Heroku, and Iron.io.
- **Easy to install**: [Download](http://phantomjs.org/download.html), unpack, and start having fun in just 5 minutes.
## Ecosystem
PhantomJS needs not be used only as a stand-alone tool. Check also some excellent related projects:
- [CasperJS](http://casperjs.org) enables easy navigation scripting and common high-level testing.
- [Poltergeist](https://github.com/jonleighton/poltergeist) allows running Capybara tests headlessly.
- [Guard::Jasmine](https://github.com/netzpirat/guard-jasmine) automatically tests Jasmine specs on Rails when files are modified.
- [GhostDriver](http://github.com/detro/ghostdriver/) complements Selenium tests with a PhantomJS WebDriver implementation.
- [PhantomRobot](https://github.com/datakurre/phantomrobot) runs Robot Framework acceptance tests in the background via PhantomJS.
- [Mocha-PhantomJS](https://github.com/metaskills/mocha-phantomjs) run Mocha tests using PhantomJS.
and many others [related projects](http://phantomjs.org/related-projects.html).
## Questions?
- Explore the complete [documentation](http://phantomjs.org/documentation/).
- Read tons of [user articles](http://phantomjs.org/buzz.html) on using PhantomJS.
- Join the [mailing-list](http://groups.google.com/group/phantomjs) and discuss with other PhantomJS fans.
PhantomJS is free software/open source, and is distributed under the [BSD license](http://opensource.org/licenses/BSD-3-Clause). It contains third-party code, see the included `third-party.txt` file for the license information on third-party code.
PhantomJS is created and maintained by [Ariya Hidayat](http://ariya.ofilabs.com/about) (Twitter: [@ariyahidayat](http://twitter.com/ariyahidayat)), with the help of [many contributors](https://github.com/ariya/phantomjs/contributors).
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
test.rar (76个子文件)
test
src
.classpath 529B
.mymetadata 285B
.settings
org.eclipse.wst.jsdt.ui.superType.container 49B
org.eclipse.wst.common.project.facet.core.xml 252B
org.eclipse.core.resources.prefs 142B
org.eclipse.wst.jsdt.ui.superType.name 6B
com.genuitec.eclipse.ws.prefs 78B
org.eclipse.wst.common.component 450B
.jsdtscope 500B
org.eclipse.jdt.core.prefs 364B
.myeclipse
.project 2KB
WebRoot
META-INF
MANIFEST.MF 36B
newfile3.jpeg 79KB
index.jsp 2KB
phantomjs-2.0.0
windows
third-party.txt 2KB
bin
phantomjs.exe 46.35MB
ChangeLog 16KB
examples
scandir.js 618B
phantomwebintro.js 577B
netsniff.js 4KB
openurlwithproxy.js 766B
countdown.js 212B
stdin-stdout-stderr.js 602B
tweets.js 1KB
postserver.js 906B
imagebin.js 731B
follow.js 954B
run-jasmine2.js 4KB
postjson.js 458B
run-jasmine.js 4KB
serverkeepalive.js 1KB
loadurlwithoutcss.js 701B
module.js 120B
pizza.js 647B
detectsniff.js 2KB
movies.js 522B
printmargins.js 1KB
outputEncoding.js 378B
universe.js 301B
simpleserver.js 1KB
printenv.js 185B
direction.js 1KB
injectme.js 859B
run-qunit.js 3KB
seasonfood.js 811B
weather.js 1KB
technews.js 655B
printheaderfooter.js 4KB
render_multi_url.js 2KB
useragent.js 484B
netlog.js 657B
echoToFile.js 591B
rasterize.js 2KB
waitfor.js 3KB
sleepsort.js 744B
arguments.js 253B
child_process-examples.js 672B
walk_through_frames.js 3KB
colorwheel.js 2KB
hello.js 46B
version.js 147B
fibo.js 272B
features.js 793B
page_events.js 4KB
post.js 380B
ipgeocode.js 426B
modernizr.js 50KB
server.js 1KB
pagecallback.js 609B
unrandomize.js 641B
loadspeed.js 660B
README.md 4KB
LICENSE.BSD 1KB
pjs.js 210B
a.html 370B
WEB-INF
classes
lib
web.xml 404B
共 76 条
- 1
资源评论
- youyao8162017-04-01不是我需要的,但还是感谢fenxiang
- henanjianye2016-12-23不是我需要的,但还是感谢fenxiang
beaconD
- 粉丝: 122
- 资源: 78
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功