javascript - Does CasperJS provide references to the underlying PhantomJS objects? -
i'm migrating script phantomjs casperjs, , wondering if casper provides references phantom objects using behind scenes.
phantom provides functionality casper doesn't (injectjs, example).
for completeness' sake, here of phantom's objects:
by looking @ casper object's properties, did find reference webpage object (casper.page), particular use case handled. figured post question anyway in case other people need access system, fs, webserver, or child_process.
i know system , fs modules, able use same apis casperjs phantomjs. true webserver , child_process well. mean this, can continue require these modules phantomjs, ex:
var fs = require('fs'); var sys = require('system'); as webpage, can take @ answer here how access page object casperjs uses run on top of phantomjs.
Comments
Post a Comment