Can CasperJS (with phantomJS) be run directly in the browser and not via the command line ?
I would like to run an interactive test from the browser where i take inputs from the user and proceed accordingly. I would like to run casperJS as a normal javascript function which is executed in a browser and be able to produce the output of each command to the user, such that the user can decide what he wants to do next.