Make CasperJS talk to parent process
<p>I'm using <a href="http://casperjs.org/index.html" rel="nofollow">CasperJS</a> to test my web application and I'm running Casper's instance from the parent Node.js process using <code>require('child_process').spawn</code>.</p>

<p>I find myself in situation, where I need to pause Casper's execution after several steps and give control back to parent program in order to perform some actions and then pass some additional data from parent process to the Casper and proceed with the next steps.</p>

<p>Is it possible to achieve this?</p>

<hr>

<p>Actually, I need to perform some HTTP (POST) requests between some steps, but it looks like I can't do this from Casper's environment, I need full-fledged Node.js support.</p>