Skip to content Skip to sidebar Skip to footer

Which Version Of Casperjs Is Working Well With Phantomjs?

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 re

Solution 1:

  • CasperJS 1.1-beta3 works well with PhantomJS 1.9.0 - 1.9.8.
  • Newest CasperJS from git works well with PhantomJS 1.9.0 - 2.0.0.
  • Avoid PhantomJS 1.9.8 if you need clean output.
  • I recommend to have multiple versions installed: 2.0.0, 1.9.8 and 1.9.7 in parallel as different executables. You can then use 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.

Post a Comment for "Which Version Of Casperjs Is Working Well With Phantomjs?"