I'm driving casperjs through spookyjs and I want to use slimerjs, rather than phantomjs, as the engine for casperjs.
When using casperjs you set the engine when calling casperjs from the command line like this:
casperjs *scriptname* --engine=slimerjs
I thought it may be possible to set the engine when configuring casperjs when using spookyjs like this:
var spooky = new Spooky(
{
child: {
transport: 'http'
},
casper: {
logLevel: 'debug',
verbose: true,
options: {
clientScripts: ['public/js/jquery-1.11.1.min.js'],
engine: 'slimerjs'
}
}
},...
But that doesn't work. So how do you use slimerjs as the engine when driving casperjs through spookyjs?