What is PhantomJS?
PhantomJS is a tool in the Headless Browsers category of a tech stack.
PhantomJS is an open source tool with 29.3K GitHub stars and 5.9K GitHub forks. Here’s a link to PhantomJS's open source repository on GitHub
Who uses PhantomJS?
114 companies reportedly use PhantomJS in their tech stacks, including tools, Stack Scanner, and Ocado Technology.
330 developers on StackShare have stated that they use PhantomJS.
Linux, Windows, macOS, FreeBSD, and StackStorm are some of the popular tools that integrate with PhantomJS. Here's a list of all 9 tools that integrate with PhantomJS.
Pros of PhantomJS
Scriptable web browser
Depends on QT
No ECMAScript 6
Oct 22 2015 at 8:05AM
- Multiplatform, available on major operating systems: Windows, Mac OS X, Linux, and other Unices
- 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
PhantomJS Alternatives & Comparisons
What are some alternatives to PhantomJS?
See all alternatives
Selenium automates browsers. That's it! What you do with that power is entirely up to you. Primarily, it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should!) also be automated as well.
Protractor is an end-to-end test framework for Angular and AngularJS applications. Protractor runs tests against your application running in a real browser, interacting with it as a user would.
wkhtmltopdf and wkhtmltoimage are command line tools to render HTML into PDF and various image formats using the QT Webkit rendering engine. These run entirely "headless" and do not require a display or display service.