Reputation: 2570
But the cases often occurred when each of us who new to CasperJS or Phantom.... they start to combine both latest version and try to execute the tutorial (from the old-out-dated resource) >> Result is... error on many parts.
Thus, to overcome this matter. I wish there's some notes about both versions that workings well side-by-side. For instance
casperJS 1.0.4 and phantomJS 1.8.2 >> not a good choice,
because function of this.getElementsInfo()
will not working well inside the code.
Upvotes: 0
Views: 338
Reputation: 61892
set PHANTOMJS_EXECUTABLE=myphantomjs
on windows or export PHANTOMJS_EXECUTABLE=myphantomjs
on linux to change between them easily just before calling CasperJS. I tend to have the executables phantomjs200, phantomjs198 and phantomjs197 lying around.Upvotes: 3