Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
P

phantomjs

> 编程语言
Open source

Scriptable Headless Browser

29.5K stars0 likes3 views
WebsiteGitHub

About

Scriptable Headless Browser

PhantomJS - Scriptable Headless WebKit

PhantomJS (phantomjs.org) is a headless WebKit scriptable with JavaScript. The latest stable release is version 2.1.

Important: PhantomJS development is suspended until further notice (see #15344 for more details).

Use Cases

  • Headless web testing. Lightning-fast testing without the browser is now possible!
  • Page automation. Access and manipulate web pages with the standard DOM API, or with usual libraries like jQuery.
  • Screen capture. Programmatically capture web contents, 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 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, unpack, and start having fun in just 5 minutes.

Questions?

  • Explore the complete documentation.
  • Read tons of user articles on using PhantomJS.
  • Join the mailing-list and discuss with other PhantomJS fans.

PhantomJS is free software/open source, and is distributed under the BSD license. 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 @ariyahidayat, with the help of many contributors.

Issues· 14 open

View all issuesOpen on GitHub
  • #15492

    No explanation of what the switches are and what the arguments are.

    staleUpdated May 22, 2023
  • #15495

    Unable to download Windows build - Link to file is refused.

    staleUpdated May 21, 2023
  • #15490

    Build failing with Cannot start PhantomJS

    staleUpdated May 21, 2023
  • #15493

    The API documentation lacks the complete syntax of the open method.

    staleUpdated May 21, 2023
  • #10612

    Fixed JavaScript code to follow the coding style

    pinnedUpdated Feb 14, 2020
  • #15354

    post.js example is outdated

    pinnedUpdated Feb 14, 2020
  • #14543

    Lowering the barrier to contribution

    metaUpdated Jan 13, 2020
  • #15414

    Switch to Python 3

    metaUpdated Jan 13, 2020
  • #15343

    Use Read the Docs (RTD) for the documentation

    DocumentationUpdated Dec 31, 2019
  • #14541

    Communicating maintenance capacity and prioritization

    metaUpdated Dec 31, 2019

> Tags

C++automationheadlessheadless-browserphantomjs

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 30, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言