Skip to content
EntityQ20712371· pop 6· linked from 8 articles

PhantomJS is a discontinued headless browser used for automating web page interaction. PhantomJS provides a JavaScript API enabling automated navigation, screenshots, user behavior and assertions making it a common tool used to run browser-based unit tests in a headless system like a continuous integration environment. PhantomJS is based on WebKit making it a similar browsing environment to Safari and Google Chrome (before Chrome's fork of WebKit evolved into Blink). It is an open-source software released under the BSD License.

Source code

PhantomJS (phantomjs.org) is a headless WebKit scriptable with JavaScript. The latest stable release is version 2.1. Important : PhantomJS development is suspended until further notice (see 15344 for more details). Use Cases Headless web testing . Lightning-fast testing without the browser is now possible! Page automation . Access and manipulate web pages with the standard DOM API, or with usual libraries like jQuery. Screen capture . Programmatically capture web contents, including CSS, SVG and Canvas. Build server-side web graphics apps, from a screenshot service to a vector chart rasterizer. Network monitoring . Automate performance analysis, track page loading and export as standard HAR format. 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. Questions? Explore the complete documentation. Read tons of user articles on using PhantomJS. Join the mailing-list and discuss with other PhantomJS fans. PhantomJS is free software/open source, and is distributed under the BSD license. It contains third-party code, see the included third-party.txt file for the license information on third-party code. PhantomJS is created and maintained by @ariyahidayat, with the help of many contributors.

Excerpt from the source-code README · 2,238 chars · not written by Vinony

Wikidata facts

Instance of
free software
Official website
phantomjs.org
Show 5 more facts
programmed in
C++
software version identifier
2.1.1
copyright license
3-clause BSD License
source code repository URL
github.com/ariya/phantomjs
Sources (11)

via Wikidata · CC0

Article · Français

PhantomJS est un navigateur web headless (sans interface graphique) scriptable utilisé pour automatiser des interactions avec des pages web. PhantomJS offre une interface de programmation JavaScript permettant la navigation automatisée, la capture d'écran, de simuler les comportements utilisateurs, et l'utilisation d'assertions. Ces possibilités en font un outil de choix pour exécuter des tests fonctionnels au sein d'un environnement d'intégration continue. PhantomJS est basé sur Webkit, ce qui en fait un environnement de navigation similaire à Safari ou à Google Chrome (bien que ce dernier utilise désormais le moteur de rendu Blink, un fork de Webkit). PhantomJS est un programme open source distribué sous licence BSD. Le projet est abandonné par son fondateur le 13 avril 2017 suivant l'annonce d'ajout du mode headless dans Chrome 59 et 60.

Abstract from DBpedia / Wikipedia · CC BY-SA

Available in 6 languages

via Wikidata sitelinks · CC0