Changelog History
Page 11
-
v0.11.0 Changes
November 20, 2011๐ Changed error handling for the better.
๐ป Calling browser.wait or browser.visit no longer passed the resource/JavaScript error as the first argument, and will continue ๐จ processing if there are multiple errors.
Instead, an array of errors is passed as the fourth argument. You can ๐ป also access
browser.errors
and to get just the last one, e.g. to ๐ป check if any errors were reported, usebrowser.error
.๐ป Using
console.log(browser)
will puke over your terminal, so we add 0๏ธโฃ global defaults for sanity.Set
console.depth
to specify how many times to recurse while 0๏ธโฃ formatting the object (default is zero).0๏ธโฃ Set
console.showHidden
to show non-enumerable properties (defaults to false).333 Tests 1.7 sec to complete
-
v0.10.3 Changes
November 18, 2011โ Added site option allowing you to call
visit
with a relative path. Example:browser = new Browser(site: "localhost:3000") browser.visit("/testing", function(error, browser) { })
๐ Fixed uploading of attachments to work with Connect/Express (and ๐ possibly other servers). Formidable (used by Connect) does not support Base64 encoding. Sending binary instead.
โ Tested on Node 0.6.1.
330 Tests 2.1 sec to complete
-
v0.10.2 Changes
October 13, 2011๐ Fixed #173 browser.open() causes Segmentation fault (Brian McDaniel)
โฌ๏ธ Upgraded to JSDOM 0.2.7.
-
v0.10.1 Changes
September 08, 2011โ Tests that this == window == top == parent. True when evaluated within ๐ป the context of the browser, not necessarily when using browser.window.
โ Removed JSDOM patch for iframes, no tests failing, let's see what happens ...
๐ Fixes #164 jQuery selectors with explicit context fail.
๐ Better stack traces for client-side JS. This will help in debugging and filing issues.
โก๏ธ Updated installation instructions for OS X/Windows.
โฌ๏ธ Upgraded to JSDOM 0.2.4 and testing with jQuery 1.6.3.
329 Tests 2.9 sec to complete
-
v0.10.0 Changes
August 27, 2011โฌ๏ธ Upgraded to JSDOM 0.2.3 which brings us a Window context that works for asynchronous invocations (that would ๐ป be timers, XHR and browser.evaluate), and many many other improvements.
โ Tested for compatibility with jQuery 1.6.2. Yes. It works.
NOTE: This release uses 0๏ธโฃ htmlparser as the default parser, ๐ while waiting for some bug fixes on ๐ HTML5. Unfortunately, htmlparser ๐ is limited in what it can accept and properly parse. Be aware of the following issues:
- Your document must have
html
,head
andbody
elements. - No CDATAs. But then again, CDATA is so 1999.
- ๐ท Tag soups break the parser.
- Scripts can't use
document.write
. Again, it's not 1999.
โ Added
browser.loadCSS
option. Set this to load external stylesheets. 0๏ธโฃ Defaults totrue
.โ Added
browser.htmlParser
option. Tells JSDOM which HTML5 parser to 0๏ธโฃ use. Usenull
for the default parser.๐ Fixed handling of
file
protocol. - Your document must have
-
v0.9.7 Changes
July 28, 2011๐ Fixed: require.paths is deprecated [#158]
๐ Fixed: missing pathname support for window.location.href [#156]
๐ Fixed: not running script specs due to bug in CoffeeScript (iPaul Covell) [#151]
๐ Updated documentation to clarify installation instructions for OS X and Ubuntu.
311 Tests 4.5 sec to complete
-
v0.9.6 Changes
July 28, 2011Implements file:// requests using node.js' native fs module rather than leaning on its http module (Ryan Petrello)
โ Added a basic infection/installation section to documentation (terryp)
๐ Modified resources and xhr to better work with SSL (Ken Sternberg)
-
v0.9.5 Changes
April 11, 2011Callbacks on input/select changes (Julien Guimont)
๐ Fix type that broke compatibility with jQuery 1.5.1 (Chad Humphries)
Enabled window.Image to accept height and width attributes [#35]
Implemented window.navigator.javaEnabled() [#35]
โ Added setter for document.location [#90]
๐ Fixed XPath Sorting / Specs (Blake Imsland)
311 Tests 4.5 sec to complete
-
v0.9.4 Changes
February 22, 2011โ Added preliminary support for Web sockets (Ben Ford).
๐ Fixes
eval
to execute in the global scope.๐ Fixes error when dumping cookies (Christian Joudrey).
๐ Fixed some typos in the README (Jeff Hanke).
Speed bump from running on Node 0.4.1.
295 Tests 2.9 sec to complete
-
v0.9.3 Changes
February 22, 2011๐ Fixes seg fault when Zombie fails to compile a script.
293 Tests 3.3 sec to complete