Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Phantomjs installation for Windows [closed]

Tags:

phantomjs

I downloaded the "phantomjs-1.7.0-windows.zip " for Windows from here.

I even set up the path of the extracted folder in the environment variables. But I am getting the "parse error" when I try to enter any command like phantomjs --version in the phantomjs.exe command prompt. (My Windows is 64 bit.)

Why is it throwing the error?

like image 753
Pavan b Avatar asked Oct 16 '12 10:10

Pavan b


People also ask

Is PhantomJS open source?

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 open-source software released under the BSD License.

How do you get PhantomJS?

Download and Installation Go to the download page of the PhantomJS official website, where you can download the . zip file according to your OS. Different versions are available for Windows, Mac, and Linux.


1 Answers

Type phantomjs --version in the Windows command-prompt.

If you launch PhantomJS by executing phantomjs.exe, you are now inside PhantomJS interactive mode (REPL). In this prompt, you should type JavaScript code.

like image 132
Ariya Hidayat Avatar answered Sep 18 '22 10:09

Ariya Hidayat