How to control a CasperJS automation script from a remote jquery client using socket.io
问题 I have an automation script in CasperJS controlling a PhantomJS headless browser that logs into a site, enters data over multiple pages / form. From the same physical server, I have PHP/MySQL serving up a CRM client website. On the CRM site, I want to have the ability to: Trigger the remote CasperJS script to go browse a remote site and log in and fill out forms Read the output stream (i.e. "Page 1 complete, page 2 complete" ,etc) Display the status updates to the client user as the CasperJS