phantomjs (ariya/phantomjs)
Searching Database…
What is this?
PhantomJS is a headless WebKit scriptable with JavaScript: a real browser engine that loads and manipulates web pages without any visible browser window.
Is it a library I add to my code, or a program I run?
It is a standalone executable you run from the command line and drive with JavaScript scripts — not a library you import into your own code.
How do I get it running?
Download the binary for your OS and unpack it; the README promises you are up and running in 5 minutes. The latest stable release is version 2.1.
Is it still actively maintained?
No. Development is suspended until further notice and the repository is archived, so treat it as a legacy tool rather than a base for new projects.
Which platforms does it run on, and does it need a display?
Windows, Mac OS X, Linux and other Unices. On Linux it runs pure headless with no X11, which makes it ideal for CI servers; it also runs on Amazon EC2, Heroku and Iron.io.
How do I automate a page with it?
You write JavaScript: the loaded page is accessible through the standard DOM API, and common libraries like jQuery work as usual.
What can screen capture do beyond plain screenshots?
It renders web content including CSS, SVG and Canvas, so people built server-side graphics apps on it, from screenshot services to a vector chart rasterizer.
Can it track page loading and export the results?
Yes. Network monitoring automates performance analysis, tracks page loading and exports everything as standard HAR files.
What are similar projects?
moli, playwright-cli, katana, ovobrowser, playwright, browser, figranium, puppeteer
Which topics is it in?
headless-browser, scripting, headless, screenshot, unix, web-scraping, browser-automation, ci, bsd, testing, deprecated, cpp