5 ms·
I've started playing with zombie.js recently as well - much lighter and faster than the ones that instrument a completely full browser. But has a full Javascrip
by frabcus 14y ago
I've started playing with zombie.js recently as well - much lighter and faster than the ones that instrument a completely full browser. But has a full Javascript engine.
- freshhawk 14y agoThat's really interesting, thanks. I worry that it's not going to replicate a real browser accurately enough, but I'm excited to try it out a bit.
- jonpaul 14y agoYour worry is correct. http://news.ycombinator.com/item?id=4896054 http://news.ycombinator.com/item?id=4896054 I've tried scraping with it, and it failed miserably on some sites.
- frabcus 14y agoYeah, it's not mature enough yet. We're also trying it for integration tests, as it is much quicker than Phantom or Selenium. Even there, where we control the standards-compliant site, it isn't quite good enough yet. Would love to see more people helping make it so, though!
- jonpaul 14y agozombie.js is not a full browser. It's a poor emulation using jsdom as its backing. http://zombie.labnotes.org/guts http://zombie.labnotes.org/guts Beware, for some applications, jsdom is super buggy.