What is PhantomJS?
PhantomJS is a headless WebKit scriptable with JavaScript. It is used by hundreds of developers and dozens of organizations for web-related development workflow.
PhantomJS is a tool in the Headless Browsers category of a tech stack.
PhantomJS is an open source tool with 29.5K GitHub stars and 5.8K GitHub forks. Here’s a link to PhantomJS's open source repository on GitHub
Who uses PhantomJS?
Companies
120 companies reportedly use PhantomJS in their tech stacks, including tools, Stack Scanner, and Ocado Technology.
Developers
427 developers on StackShare have stated that they use PhantomJS.
PhantomJS Integrations
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
13
3
2
Blog Posts
PhantomJS's 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
PhantomJS Alternatives & Comparisons
What are some alternatives to PhantomJS?
Selenium
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.
Electron
With Electron, creating a desktop application for your company or idea is easy. Initially developed for GitHub's Atom editor, Electron has since been used to create applications by companies like Microsoft, Facebook, Slack, and Docker. The Electron framework lets you write cross-platform desktop applications using JavaScript, HTML and CSS. It is based on io.js and Chromium and is used in the Atom editor.
Protractor
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
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.
SlimerJS
It allows you to manipulate a web page with an external Javascript script: opening a webpage, clicking on links, modifying the content... It is useful to do functional tests, page automation, network monitoring, screen capture etc.