Questions tagged [spookyjs]

SpookyJS makes it possible to drive CasperJS suites from Node.js. At a high level, Spooky accomplishes this by spawning Casper as a child process and controlling it via RPC.

SpookyJS makes it possible to drive CasperJS suites from Node.js. At a high level, Spooky accomplishes this by spawning Casper as a child process and controlling it via RPC.

Specifically, each Spooky instance spawns a child Casper process that runs a bootstrap script. The bootstrap script sets up a JSON-RPC server that listens for commands from the parent Spooky instance over a transport (either HTTP or stdin). The script also sets up a JSON-RPC client that sends events to the parent Spooky instance via stdout.

Source: https://github.com/WaterfallEngineering/SpookyJS

See also:

62 questions
0
votes
1 answer

How to dump an object in Spooky JS

In CasperJS it's easy to dump an object by using: var utils = require('utils'); utils.dump(myObj); How do I dump an object with spooky.js in a similar fashion?
Fgblanch
  • 5,195
  • 8
  • 37
  • 51
0
votes
1 answer

How to debug coffeescript on the server with node

I've got below code that is run with Coffeescript, NodeJS PhantomJS and SpookyJS try Spooky = require 'spooky' mysql = require 'mysql' catch e console.log e Spooky = require 'node_modules/spooky/lib/spooky' spooky = new Spooky( casper:…
Passionate Engineer
  • 10,034
  • 26
  • 96
  • 168
1 2 3 4
5