zombie v3.1.0 Release Notes
Release Date: 2015-03-15 // about 9 years ago-
๐ 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. = deprecated, use Browser. = 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 toidle
โฌ๏ธ 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 oflatest
. NPM โ defaults to showing and installinglatest versions, you have to explicitly instruct it to
install` next versions.688 passing (22s) 12 pending