Serverless PhantomJS with IronWorker
blog.iron.io
blog.iron.io
ERROR -- IronWorkerNG: Can't find src with path='node_modules'
and then follow the directions from /binary/phantom-nodejs
My only gripe is with the cryptic error messages I was receiving when executing JavaScript in a casper browser. But that could have just been my ignorance and unfamiliarity.
Additionally you could install it using the build() command in the .worker file very similar to the way PhantomJS is installed.
I just included the whole CasperJS library with the worker package and followed the getting started example from the Casper site.
https://github.com/iron-io/iron_worker_examples/tree/master/...
then follow the blog post.
Let me know if you have any questions or issues. I'll try and do something more exciting later like grab 100 sites, create pdfs, and store them in S3 all in parallel.