PhantomJS 2.5.0-beta无头浏览器

PhantomJS 2.5.0-beta 是个挺不错的无头浏览器,适合做自动化测试或者网页抓取。它不需要图形界面,直接在命令行跑,省得你浪费时间去调试 UI。它使用的 Webkit 渲染引擎能精准模拟现代网页的表现,这点对于抓取数据或者做网页截图时超有用。更有 JavaScript API 可以轻松控制浏览器行为,比如模拟点击、表单填写啥的。
如果你需要做网页自动化操作,PhantomJS 还挺能帮上忙的。比如可以自动化登录网站,执行 JavaScript 代码,甚至监控网络求、性能,简单操作都能搞定。不过它已经不再更新,所以如果你需要支持最新的 Web 技术,得考虑一下其他工具,比如 Puppeteer 或者 Selenium
安装时,记得把phantomjs.exe加入到系统路径中,这样在命令行里能直接调用。跑个phantomjs --version就能检查是否安装成功了。,PhantomJS 在 Windows 环境下用来做自动化任务还不错,就是有点过时了,不支持一些新技术。
如果你对自动化测试感兴趣,还可以看看其他相关资源,比如SplinterAppium,它们也都是挺好用的工具。

zip
phantomjs-2.5.0-beta-windows.zip 预估大小:50个文件
folder
phantomjs-2.5.0-beta-windows 文件夹
folder
bin 文件夹
file
phantomjs.exe 26.36MB
folder
examples 文件夹
file
useragent.js 498B
file
colorwheel.js 2KB
file
run-jasmine.js 4KB
file
printenv.js 185B
file
outputEncoding.js 392B
file
post.js 394B
file
printmargins.js 1KB
file
injectme.js 865B
file
hello.js 60B
file
countdown.js 226B
file
pagecallback.js 623B
file
loadspeed.js 674B
file
serverkeepalive.js 1KB
file
modernizr.js 50KB
file
simpleserver.js 1KB
file
postjson.js 472B
file
scandir.js 633B
file
openurlwithproxy.js 779B
file
server.js 1KB
file
render_multi_url.js 2KB
file
child_process-examples.js 686B
file
universe.js 314B
file
rasterize.js 2KB
file
run-qunit.js 3KB
file
run-jasmine2.js 4KB
file
module.js 135B
file
unrandomize.js 655B
file
page_events.js 4KB
file
printheaderfooter.js 4KB
file
features.js 806B
file
fibo.js 286B
file
phantomwebintro.js 622B
file
sleepsort.js 759B
file
arguments.js 267B
file
echoToFile.js 601B
file
waitfor.js 3KB
file
version.js 161B
file
loadurlwithoutcss.js 715B
file
responsive-screenshot.js 4KB
file
detectsniff.js 2KB
file
stdin-stdout-stderr.js 616B
file
netsniff.js 4KB
file
netlog.js 671B
file
walk_through_frames.js 3KB
file
postserver.js 920B
file
third-party.txt 1KB
file
ChangeLog 17KB
file
README.md 2KB
file
LICENSE.BSD 1KB
zip 文件大小:25.63MB