New to PhantomJS? Read and study the Quick Start guide.
- Jun 23, 2017 Install phantomjs on Mac OSX. June 23, 2017 Amber. App name: phantomjs; App description: Headless WebKit scriptable with a JavaScript API.
- $ casperjs sample.js First Page: CasperJS - a navigation scripting & testing utility for PhantomJS and SlimerJS written in Javascript Second Page: PhantomJS PhantomJS. CasperJS comes with a basic testing suite that allows you to run full featured tests without the overhead of a full browser. Output the tests to xunit for long term.
- The logo commonly used to pictorially refer to PhantomJS is a fluorescent blue ghost atop a black background. This refers to the lack of graphical user interface, or main body of the browser, making PhantomJS users seem like ghosts. In March 2018, the development of PhantomJS was suspended due to lack of active contributions. PhantomJS usage.
Alternatives to Phantomjs for Windows, Linux, Mac, Web, Self-Hosted and more. Filter by license to discover only free or Open Source alternatives. This list contains a total of 25+ apps similar to Phantomjs. List updated: 3/16/2019 2:26:00 PM. On Apple Mac you can install PhantomJS with the line: brew install phantomjs: On Microsoft Windows or Linux, get PhantomJS from the official site. Selenium PhantomJS. To use the PhantomJS webdriver, all you need to do is change it to PhantomJS. Example PhantomJS code.
Windows
Download phantomjs-2.1.1-windows.zip (17.4 MB) and extract (unzip) the content.
Phantomjs-prebuilt For Mac
The executable
phantomjs.exe
is ready to use.Note: For this static build, the binary is self-contained with no external dependency. It will run on a fresh install of Windows Vista or later versions. There is no requirement to install Qt, WebKit, or any other libraries.
![Phantomjs Phantomjs](/uploads/1/3/4/0/134054719/441019080.png)
Mac OS X
Download phantomjs-2.1.1-macosx.zip (16.4 MB) and extract (unzip) the content.
Note: For this static build, the binary is self-contained with no external dependency. It will run on a fresh install of OS X 10.7 (Lion) or later versions. There is no requirement to install Qt or any other libraries.
Linux 64-bit
Download phantomjs-2.1.1-linux-x86_64.tar.bz2 (22.3 MB) and extract the content.
Note: For this static build, the binary is self-contained. There is no requirement to install Qt, WebKit, or any other libraries. It however still relies on Fontconfig (the package libfontconfig, depending on the distribution). The system must have GLIBCXX_3.4.9 and GLIBC_2.7.
fontconfig
or Linux 32-bit
Phantomjs Mac Os Install
Download phantomjs-2.1.1-linux-i686.tar.bz2 (23.0 MB) and extract the content.
Note: For this static build, the binary is self-contained. There is no requirement to install Qt, WebKit, or any other libraries. It however still relies on Fontconfig (the package
fontconfig
or libfontconfig
, depending on the distribution). The system must have GLIBCXX_3.4.9 and GLIBC_2.7.FreeBSD
Binary packages are available via pkg:
Source Code
Phantomjs For Mac Pro
To get the source code, check the official git repository: github.com/ariya/phantomjs.
To compiled PhantomJS from source (not recommended, unless it is absolutely necessary), follow the build instructions.
Checksums
To verify the integrity of the downloaded files, use the following checksums.
MD5 Checksums
SHA-256 Checksums
Acknowledgement
Download service is kindly provided by BitBucket and previously by Google Code Project Hosting.