zombie.js

Software Screenshot:
zombie.js
Software Details:
Version: 4.2.1 updated
Upload Date: 10 Feb 16
Developer: Assaf Arkin
Distribution Type: Freeware
Downloads: 19

Rating: nan/5 (Total Votes: 0)

Zombie.js allows developers to test client-side JavaScript code in a simulated environment.

Client-side code can be tested in Node.js, just like they will be ran inside a browser.

What is new in this release:

  • ADDED:
  • Preliminary support for the Fetch API (https://fetch.spec.whatwg.org/)
  • Can use the browser.fetch to retrieve any resources, using the cookies, pipeline and all other browser settings
  • CHANGED:
  • Upgraded to JSDOM 4.1
  • Use browser.status instead of browser.statusCode (HTML APIs use status and statusText)
  • browser.resources is now just an array of all resources requested when processing the currently open window. Resources no longer shared by all windows, and other features (pipeline configuration, fetch resources) moved elsewhere.
  • Separated pipeline from resources. Use browser.pipeline.addHandler to add request/response handler to the browser instance, or Pipeline.addHandler to add handler to all new instances.
  • Pipeline API changed as well. Request handler called with browser instance and Fetch Request object, can return null or a Fetch Response object. Response handler called with browser instance, request and response object, should return same or new response object. Handlers no longer using callbacks, if you need asynchronous behavior, return a promise.
  • FIXED:
  • Empty cookie and referer header no longer sent #881
  • Added navigator.appVersion #885
  • REMOVED:
  • document.window, use document.defaultView instead
  • browser.close confusing method name, use browser.window.close if you really need to close the window.

What is new in version 4.0.5:

  • ADDED:
  • Preliminary support for the Fetch API (https://fetch.spec.whatwg.org/)
  • CHANGED:
  • Upgraded to JSDOM 4.1
  • The resources implementation to use the Fetch API.

What is new in version 3.1.0:

  • ADDED:
  • DOM URL class
  • XHR events emitted to browser
  • wait() ends with error if Browser cannot load all resources on the page (e.g. doesn't get to load scripts)
  • Submitting form using an image input will include coordinates
  • REMOVED:
  • browser.fork no longer supported
  • browser.htmlParser option no longer supported, always using default browser (parser5)
  • Browser.visit(url, options) no longer changes instance options
  • resources.mock/fail/delay, use Nock instead
  • Protocol and bcat, no tests
  • REMOVED:
  • Browser.create
  • Browser.dns and Browser.ports, switching to different implementation
  • CHANGED:
  • Browser.debug -> browser.debug (per instance)
  • browser.referer -> browser.referrer
  • Browser.default. = deprecated, use Browser. = instead
  • Timeout event -> setTimeout, interval -> setInterval
  • Removed onalert/onconfirm/onprompt, use browser.on('alert', fn) etc
  • Credentials replaced with browser.on('authenticate', fn)
  • browser.wait() runs event loop so you can catch done/error events
  • Event loop done event renamed to idle
  • Upgraded to JSDOM 3.1, added io.js and Node 0.12 support
  • All dump() methods now accept output stream or output to stdout
  • XHR errors no longer stop the event loop

What is new in version 3.0.10:

  • ADDED:
  • DOM URL class
  • XHR events emitted to browser
  • wait() ends with error if Browser cannot load all resources on the page (e.g. doesn't get to load scripts)
  • Experimental browser.serialize()
  • REMOVED:
  • browser.fork no longer supported
  • browser.htmlParser option no longer supported, always using default browser (parser5)
  • Browser.visit(url, options) no longer changes instance options
  • resources.mock/fail/delay, use Nock instead
  • Protocol and bcat, no tests
  • Browser.dns and Browser.ports, switching to different implementation
  • CHANGED:
  • Browser.debug -> browser.debug (per instance)
  • browser.referer -> browser.referrer
  • Browser.default. = deprecated, use Browser. = instead
  • timeout event -> setTimeout, interval -> setInterval
  • Removed onalert/onconfirm/onprompt, use browser.on('alert', fn) etc
  • Credentials replaced with browser.on('authenticate', fn)
  • browser.wait() runs event loop so you can catch done/error events
  • Event loop done event renamed to idle
  • Upgraded to JSDOM 3.1, added Node 0.12 and io.js support

What is new in version 3.0.4:

  • ADDED:
  • DOM URL class
  • XHR events emitted to browser
  • REMOVED:
  • browser.fork no longer supported
  • browser.htmlParser option no longer supported, always using default browser (parser5)
  • Browser.visit(url, options) no longer changes instance options
  • resources.mock/fail/delay, use Nock instead
  • Protocol and bcat, no tests
  • Browser.debug -> browser.debug (per instance)
  • CHANGED:
  • browser.referer -> browser.referrer
  • Upgraded to JSDOM 3.1, added Node 0.12 and io.js support
  • browser.wait() runs event loop so you can catch done/error events
  • FIXED:
  • XHR errors no longer stop the event loop

What is new in version 2.5.0:

  • ADDED:
  • Support for navigator.mimeTypes
  • CHANGED:
  • wait() returns a lazy promise
  • REMOVED:
  • Passing an options object to browser.visit is deprecated and will be removed soon. Passing an options object to Browser.visit is still supported.
  • UPGRADED:
  • JSDOM to 1.4.0

What is new in version 2.0.5:

  • UPDATED:
  • To latest JSDOM
  • FIXED:
  • Exceptions are being swallowed

What is new in version 1.4.1:

  • Fixed another timer edge case.

What is new in version 1.3.1:

  • The id, name and value properties should be empty strings if the corresponding attribute is not set.

What is new in version 0.12.9:

  • Added support for httpOnly cookies.
  • Can now call browser.cookies with no arguments to return cookies for the current domain (based on the hostname of the currently loaded page).

Requirements:

  • Node.js 0.8 or higher

Similar Software

PHPUnit
PHPUnit

18 Apr 16

PHPSandbox
PHPSandbox

20 Jul 15

Hydra
Hydra

23 Jul 15

simple-debug.css
simple-debug.css

1 Mar 15

Comments to zombie.js

Comments not found
Add Comment
Turn on images!