Installing Casper --devel

240 views
Skip to first unread message

John Tegen

unread,
Feb 27, 2015, 3:14:46 PM2/27/15
to casp...@googlegroups.com
I am trying to install the latest version of Casper so I can use the 1.1 features.
On Mac:

$ brew install casperjs --devel
==> Installing casperjs dependency: phantomjs
==> Downloading https://homebrew.bintray.com/bottles/phantomjs-2.0.0.mavericks.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/phantomjs-2.0.0.mavericks.bottle.tar.gz
==> Pouring phantomjs-2.0.0.mavericks.bottle.tar.gz
🍺  /usr/local/Cellar/phantomjs/2.0.0: 58 files, 50M
==> Installing casperjs
==> Downloading https://github.com/n1k0/casperjs/archive/1.1-beta3.tar.gz
Already downloaded: /Library/Caches/Homebrew/casperjs-1.1-beta3.tar.gz
🍺  /usr/local/Cellar/casperjs/1.1-beta3: 265 files, 1.9M, built in 2 seconds
bash-3.2$ casperjs --version'
>
bash-3.2$ casperjs --version
CasperJS needs PhantomJS v1.x

  /usr/local/Cellar/casperjs/1.1-beta3/libexec/bin/bootstrap.js:91 in __die


I had the stable version working but had to modify bootstrap.js to get it to run with PhantomJS 2.

Can anyone tell me what I am doing wrong or need to do to get this to work. Evaluating this to replace Selenium.

John Tegen

unread,
Feb 27, 2015, 3:20:00 PM2/27/15
to casp...@googlegroups.com
I replaced the bootstrap.js file with the one attached here:

https://groups.google.com/forum/#!topic/casperjs/Bzm6iKazHn4

so now I get:

casperjs --version
Warning PhantomJS v2.0 not yet released. There will not be any official support for any bugs until stable version is released!
1.1.0-beta3

But if
brew install casperjs --devel
Is installing PhantomJS 2.0.0, why is it saying that it is not released?

Reply all
Reply to author
Forward
0 new messages