PhantomJS - Scriptable Headless Browser | Website analytics by TrustRadar
Blurry colored background
phantomjs.org Web Development Testing Tools Automation JavaScript Libraries

PhantomJS - Scriptable Headless Browser

PhantomJS is a headless WebKit scriptable with a JavaScript API. It has fast and native support for various web standards: DOM handling, CSS selector, JSON, Canvas, and SVG. PhantomJS is an optimal solution for headless website testing, screen capture, page automation, and network monitoring.

Unique Visits

90K

3000 / day

Total Views

150K

5000 / day

Visit Duration, avg.

3.8 min

2.5 pages per visit

Bounce Rate

40%

  • Domain Rating

  • Domain Authority

  • Citation Level

Founded in

2011

Supported Languages

English, etc

Website Key Features

Headless WebKit

Runs web pages without a graphical user interface, ideal for automated testing and scripting.

JavaScript API

Allows for scripting and automation of web pages using JavaScript.

DOM Handling

Supports manipulation and traversal of the Document Object Model (DOM) of web pages.

CSS Selector

Enables the selection of elements on a web page using CSS selectors.

JSON Support

Facilitates the parsing and generation of JSON data.

Canvas and SVG

Provides native support for rendering and manipulating Canvas and SVG elements.

Screen Capture

Allows for the capture of web page screenshots, useful for testing and documentation.

Page Automation

Automates interactions with web pages, such as form submissions and clicks.

Network Monitoring

Monitors network traffic and resources, useful for performance testing and debugging.

Additional information

License

PhantomJS is released under the BSD license.

Platforms

Supports Windows, macOS, Linux, and FreeBSD.

Development Status

As of 2018, PhantomJS development is suspended. The maintainer recommends using Chrome or Firefox in headless mode for similar functionality.

Community

Despite its development status, PhantomJS has a large community and a wealth of resources and plugins available.

Alternatives

Puppeteer, Selenium, and Playwright are popular alternatives to PhantomJS, offering similar or enhanced functionality.

HTTP headers

Security headers report is a very important part of user data protection. Learn more about http headers for phantomjs.org