Install Phantomjs for Windows

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

I even set the path to the extracted folder in the environment variables. But I get a "parsing error" when I try to enter any command, for example phantomjs --version on the phantomjs.exe command line. (My Windows is 64 bit.)

Why is this throwing an error?

+7
source share
1 answer

Type phantomjs --version at the Windows command prompt.

If you run PhantomJS by running phantomjs.exe , you are now in PhantomJS Interactive Mode (REPL). At this prompt, you must enter the JavaScript code.

+12
source

All Articles