I have a casperJS script which returns a JSON when run on commandline. I want to have an arrangement such that 1) I create a webpage 2) On clicking a button on the webpage
I have found solution from my post on google group
https://groups.google.com/forum/#!topic/casperjs/7Lps6TiX-78
It worked by moving CasperJS & PhantomJS executable file in the directory server (/html)