4 ms·
casperjs is pretty unreliable, I wouldn't bother. Even for relatively trivial frontend testing we were using it for, it would crash ~50% of the time on Linux an
by heretohelp 14y ago
casperjs is pretty unreliable, I wouldn't bother. Even for relatively trivial frontend testing we were using it for, it would crash ~50% of the time on Linux and Mac.
- zhodge 14y agoReally? I actually found it to be quite stable for a scrape project I had; it was rather trivial too though. 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.
- jonpaul 14y agoThat's not CasperJS that's unreliable. That's PhantomJS crashing. Which version of PhantomJS where you using?
- baudehlo 14y agoPhantomJS 1.6 is massively unstable. Downgrade to 1.5. I'm really surprised this hasn't been fixed yet - there are bugs in their tracker related to it.
- heretohelp 14y agoThat appears to have fixed it.
- 0k1n 14y agoI'm happy to learn that (casperjs author here)