PhantomJS is a WebKit rendering engine ideal for headless testing of Web applications.
What are the requirements for PhantomJS?
The PhantomJS binary packaged with Bitnami stacks is self-contained. There is no requirement to install Qt, WebKit, or any other libraries. However, it still relies on Fontconfig (package fontconfig or libfontconfig, depending on the distribution).
Install Fontconfig, run the following commands depending on your Linux distribution:
$ sudo apt-get install fontconfig
$ sudo yum install fontconfig
Check that the system is able to run PhantomJS, run this command:
A new console should open. Close it with the Ctrl-C combination.