How do I run casper from within the phantomjs shell?
问题 Anyone know if and how it's possible to run casperjs from within the phantomjs shell (a.k.a InteractiveModeREPL )? I've also tried passing the direct path to the casper.js module and that has not worked either. Progress/Update: Tried phantomjs.injectJs('C:/casperjs/module/casper.js'); but got Error: Cannot find module 'colorizer' I guess I'm getting close. This gets me closer but still missing path: phantomjs.injectJs('C:/casperjs/module/bin/bootstrap.js') errors out with Cannot find package