PhantomJS — Scriptable Headless WebKit
For more details, see issue #15344.
PhantomJS is a headless WebKit — a full browser with no GUI — scriptable using JavaScript.
The last stable release is 2.1.
- Headless web testing — Run fast, automated tests without needing a visible browser.
- Page automation — Access and manipulate pages with the DOM API or libraries like jQuery.
- Screen capture — Programmatically capture web content — HTML, CSS, SVG, Canvas.
- Network monitoring — Automate performance analysis, monitor page loading, and export as HAR.
- Cross-platform — Windows, macOS, Linux, and other Unices.
- Native web standards — DOM, CSS, JavaScript, Canvas, SVG — no emulation.
- Pure headless on Linux — No X11 needed. Ideal for CI/CD. Runs on EC2, Heroku, Iron.io.
- Quick start — Download, unpack, run.
- Read the full documentation.
- Browse articles & community buzz.
- Join the mailing list.
PhantomJS is free and open-source, distributed under the BSD license.
It includes third-party code — see third-party.txt for license details.
credits for @ariyahidayat with help from many contributors.
⏸️ Note: For new headless automation, consider Puppeteer or Playwright.