Zombie — Insanely fast, full-stack, headless browser testing using node.js
3.1 is the first official release of Zombie 3.x. It is a major upgrade from 2.5, and as such has several breaking changes. Please check the list of changes below to learn what has changed.
ADDED DOM URL class
ADDED XHR events emitted to browser
ADDED wait() ends with error if Browser cannot load all resources on the page
(e.g. doesn't get to load scripts)
ADDED submitting form using an image input will include coordinates #865 (Werner
Beroux)
REMOVED browser.fork no longer supported
REMOVED browser.htmlParser option no longer supported, always using default
browser (parser5)
REMOVED Browser.visit(url, options) no longer changes instance options
REMOVED resources.mock/fail/delay, use Nock instead
REMOVED protocol and bcat, no tests
REMOVED Browser.create
REMOVED Browser.dns and Browser.ports, switching to different implementation
CHANGED Browser.debug -> browser.debug (per instance)
CHANGED browser.referer -> browser.referrer
CHANGED Browser.default.<name> = <value> deprecated, use Browser.<name> = <value> instead
CHANGED timeout event -> setTimeout, interval -> setInterval
CHANGED removed onalert/onconfirm/onprompt, use browser.on('alert', fn) etc
CHANGED credentials replaced with browser.on('authenticate', fn)
CHANGED browser.wait() runs event loop so you can catch done/error events
CHANGED event loop `done` event renamed to `idle`
CHANGED upgraded to JSDOM 3.1, added io.js and Node 0.12 support
CHANGED all dump() methods now accept output stream or output to stdout
CHANGED XHR errors no longer stop the event loop
If you are wondering what happened to 3.0, there were 16 test relases of 3.0 leading up to 3.1. Test releases are tagged as `next` instead of `latest`. NPM defaults to showing and installing `latest versions, you have to explicitly instruct it to `install` next versions.