Comment on PhantomJS 2.0 is getting ready for releaseparentComments−simlevesque11yI have solved this problem by using SlimerJS as an alternative.−serve_yay11yYeah, unfortunately we can't install that one on our build box, I believe because it needs X11. (As the page says it is not "totally headless")−simlevesque11yYou are mistaken. You can install SlimerJS on a box without X11. You must install Xvfb use it like this : xvfb-run slimerjs script.jsIf you use casperjs you can modify the executable (it's python) and change "'default_exec' : 'slimerjs'" into "'default_exec' : 'xvfb-run slimerjs'"
Comments
I have solved this problem by using SlimerJS as an alternative.
Yeah, unfortunately we can't install that one on our build box, I believe because it needs X11. (As the page says it is not "totally headless")
You are mistaken. You can install SlimerJS on a box without X11. You must install Xvfb use it like this : xvfb-run slimerjs script.js
If you use casperjs you can modify the executable (it's python) and change "'default_exec' : 'slimerjs'" into "'default_exec' : 'xvfb-run slimerjs'"