Shubham Batra
Shubham Batra

Reputation: 2375

how to upgrade phantomjs?

I am running a project when I am trying to run command

casperjs flipkart.js   

then it is giving an error CasperJS needs at least PhantomJS v1.9 or later.

phantomjs --version 1.8.2

casperjs --version 1.1.0

How I can upgrade the phantomjs ?

I am using ubuntu 14.04

Upvotes: 0

Views: 377

Answers (1)

sergiy.dragunov
sergiy.dragunov

Reputation: 790

run sudo npm install phantomjs -g it will install latest version of phantomjs globally in you system.

Here is a description of package: https://www.npmjs.com/package/phantomjs

Upvotes: 1

Related Questions