How to use mouse in SpookyJS? In CasperJS I can use mouse:
var casper = require('casper').create();
var mouse = require("mouse").create(casper);
How can I do it with SpookyJS?
How to use mouse in SpookyJS? In CasperJS I can use mouse:
var casper = require('casper').create();
var mouse = require("mouse").create(casper);
How can I do it with SpookyJS?
To access any Casper prototypes in its module, including other CasperJS modules, you have to do it inside the CasperJS scope.
As explained on https://github.com/SpookyJS/SpookyJS/wiki/Introduction :