Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 1711 lines (967 sloc) 42.208 kb
76b6163 Assaf Arkin Version 3.0.11
authored
1 ## Version 3.0.11 2015-02-27
82b9da8 Assaf Arkin ADDED DOM URL class
authored
2
7858808 Assaf Arkin Dropped support for Node 0.10
authored
3 NOTE Zombie 3.0 tested to work with io.js 1.3 or later, and with Node 0.12 or
4 later. It may or may not work correctly with Node 0.10.
5
82b9da8 Assaf Arkin ADDED DOM URL class
authored
6 ADDED DOM URL class
7
8 ADDED XHR events emitted to browser
a79d1cd Assaf Arkin REMOVED browser.form, browser.htmlParser
authored
9
4abd686 Assaf Arkin ADDED wait() ends with error if Browser cannot load all resources on the...
authored
10 ADDED wait() ends with error if Browser cannot load all resources on the page
11 (e.g. doesn't get to load scripts)
12
aa25550 Assaf Arkin ADDED experimental browser.serialize()
authored
13 ADDED experimental browser.serialize()
14
76b6163 Assaf Arkin Version 3.0.11
authored
15 ADDED submitting form using an image input will include coordinates #865 (Werner
16 Beroux)
17
a79d1cd Assaf Arkin REMOVED browser.form, browser.htmlParser
authored
18 REMOVED browser.fork no longer supported
19
20 REMOVED browser.htmlParser option no longer supported, always using default
21 browser (parser5)
22
67d226d Assaf Arkin The last of the coffee-script
authored
23 REMOVED Browser.visit(url, options) no longer changes instance options
24
34923bd Assaf Arkin REMOVED resources.mock/fail/delay, use Nock instead
authored
25 REMOVED resources.mock/fail/delay, use Nock instead
26
14a1a6b Assaf Arkin Updated README
authored
27 REMOVED protocol and bcat, no tests
28
1e35488 Assaf Arkin REMOVED Browser.dns and Browser.ports, switching to different implementa...
authored
29 REMOVED Browser.dns and Browser.ports, switching to different implementation
30
a4297a4 Assaf Arkin CHANGED Browser.debug -> browser.debug (per instance)
authored
31 CHANGED Browser.debug -> browser.debug (per instance)
32
67d226d Assaf Arkin The last of the coffee-script
authored
33 CHANGED browser.referer -> browser.referrer
34
ad12d11 Assaf Arkin CHANGED Browser.default.<name> = <value> deprecated, use Browser.<name> ...
authored
35 CHANGED Browser.default.<name> = <value> deprecated, use Browser.<name> = <value> instead
36
4abd686 Assaf Arkin ADDED wait() ends with error if Browser cannot load all resources on the...
authored
37 CHANGED timeout event -> setTimeout, interval -> setInterval
38
4ce731b Assaf Arkin CHANGED removed onalert/onconfirm/onprompt, use browser.on('alert', fn) ...
authored
39 CHANGED removed onalert/onconfirm/onprompt, use browser.on('alert', fn) etc
67d226d Assaf Arkin The last of the coffee-script
authored
40
a29c3f8 Assaf Arkin CHANGED credentials replaced with browser.on('authenticate', fn)
authored
41 CHANGED credentials replaced with browser.on('authenticate', fn)
42
b9c1644 Assaf Arkin CHANGED browser.wait() runs event loop so you can catch done/error event...
authored
43 CHANGED browser.wait() runs event loop so you can catch done/error events
44
29c2ebb Assaf Arkin CHANGED event loop `done` event renamed to `idle`
authored
45 CHANGED event loop `done` event renamed to `idle`
46
47 CHANGED upgraded to JSDOM 3.1, added Node 0.12 and io.js support
48
7c0ff5d Assaf Arkin CHANGED all dump() methods now accept output stream or output to stdout
authored
49 CHANGED all dump() methods now accept output stream or output to stdout
50
8c6722a Assaf Arkin FIXED XHR errors no longer stop the event loop
authored
51 FIXED XHR errors no longer stop the event loop
52
1e35488 Assaf Arkin REMOVED Browser.dns and Browser.ports, switching to different implementa...
authored
53 684 passing (22s)
67d226d Assaf Arkin The last of the coffee-script
authored
54 12 pending
55
a79d1cd Assaf Arkin REMOVED browser.form, browser.htmlParser
authored
56
0c1d8c2 Assaf Arkin Updated changelog
authored
57 ## Version 2.5.1 2014-12-08
58
59 ADDED `waitForServer` to wait for a server-initiated event before running
60 `wait` method. Accepts the same arguments as `wait`.
61
62 Currently supports `EventSource` aka [Server-Sent
63 Events](http://dev.w3.org/html5/eventsource/).
64
8d7f789 Assaf Arkin CHANGED load is now asynchronous just like wait
authored
65 CHANGED `load` is now asynchronous just like `wait`. Use a callback or promise
66 before accessing the document.
67
0c1d8c2 Assaf Arkin Updated changelog
authored
68 703 passing (12s)
69 8 pending
70
71
c66a2ac Assaf Arkin Updated changelog
authored
72 ## Version 2.5.0 2014-12-01
3064d9a Assaf Arkin ADDED support for navigator.mimeTypes #784
authored
73
74 ADDED support for navigator.mimeTypes
75
c66a2ac Assaf Arkin Updated changelog
authored
76 CHANGED wait() returns a lazy promise
77
78 Prior to this change, calling `wait()` without a callback would return a
79 promise, which will resolve by running the event loop for completion, even if
80 you don't provide any callbacks.
81
82 This is not specifically a problem with `wait`, but with methods that end by
83 calling `wait`, like `clickLink` and `pressButton`.
84
85 After this change, `wait()` will do nothing, unless you either supply a
86 callback, or use the promise by means of calling `then/catch/done` on it.
87
88 You can achieve the old behavior by calling `browser.wait().done()`.
89
2c555e8 Assaf Arkin Merge branch 'lazy-promise'
authored
90 REMOVED Passing an options object to browser.visit is deprecated and will be
91 removed soon. Passing an options object to Browser.visit is still supported.
3064d9a Assaf Arkin ADDED support for navigator.mimeTypes #784
authored
92
1a8884d Assaf Arkin Updated to JSDOM 1.4.0
authored
93 UPGRADED to JSDOM 1.4.0
94
3e9217a Assaf Arkin Updated npm dependencies
authored
95 700 passing (12s)
b7d0023 Assaf Arkin CHANGED passing an option object to browser.visit is deprecated
authored
96 8 pending
3064d9a Assaf Arkin ADDED support for navigator.mimeTypes #784
authored
97
98
9f1d996 Assaf Arkin Version 2.4.0
authored
99 ## Version 2.4.0 2014-11-27
d83c901 Assaf Arkin FIXED eliminated endless spinning of the event loop
authored
100
101 FIXED eliminated endless spinning of the event loop
102
9f1d996 Assaf Arkin Version 2.4.0
authored
103 NOTE this may break your tests suite if you added an asynchronous event listener
104 in your Node code but forgot to wait() for the event to fire. For example:
105
106 https://github.com/assaf/zombie/commit/d83c901a07bd09cb9c583a57a0b4cd431bf71f8f#diff-cb54bacfa1b84057366b12e8b5c961d3L350
107
d83c901 Assaf Arkin FIXED eliminated endless spinning of the event loop
authored
108 695 passing (10s)
109 8 pending
110
111
4ba48b6 Assaf Arkin FIXED ReferenceError: id is not defined
authored
112 ## Version 2.3.2 2014-11-26
113
914c570 Assaf Arkin FIXED XHR status and response text in case of error #811
authored
114 FIXED XHR status and response text in case of error #811
115
fc27577 Assaf Arkin FIXED XHR events for abort and timeout
authored
116 FIXED XHR events for abort and timeout
117
4ba48b6 Assaf Arkin FIXED ReferenceError: id is not defined
authored
118 FIXED ReferenceError: id is not defined
119
914c570 Assaf Arkin FIXED XHR status and response text in case of error #811
authored
120 695 passing
4ba48b6 Assaf Arkin FIXED ReferenceError: id is not defined
authored
121 11 sec to complete
122
123
b3e2b62 Assaf Arkin ADDED XHR now supports progress events
authored
124 ## Version 2.3.1 2014-11-26
125
126 ADDED XHR now supports progress events
127
4ba48b6 Assaf Arkin FIXED ReferenceError: id is not defined
authored
128 691 passing
129 11 sec to complete
a9ca4c9 Assaf Arkin CHANGED use JSDOM dispatch and raise
authored
130
b3e2b62 Assaf Arkin ADDED XHR now supports progress events
authored
131
5f78312 Assaf Arkin Version 2.3.0
authored
132 ## Version 2.3.0 2014-11-25
7774570 Assaf Arkin FIXED request 2.48.0 leaks globals, reverting to 2.47.0
authored
133
e65029d Assaf Arkin ADDED requestAnimationFrame
authored
134 ADDED requestAnimationFrame
135
fa92aa0 Assaf Arkin FIXED don't process responses to aborted XHR requests
authored
136 FIXED don't process responses to aborted XHR requests
137
318ddfa Assaf Arkin UPDATED to JSDOM 1.3.1
authored
138 UPDATED to JSDOM 1.3.1
139
e65029d Assaf Arkin ADDED requestAnimationFrame
authored
140 688 passing
fa92aa0 Assaf Arkin FIXED don't process responses to aborted XHR requests
authored
141 11 sec to complete
318ddfa Assaf Arkin UPDATED to JSDOM 1.3.1
authored
142
143
144 ## Version 2.2.1 2014-11-14
145
7774570 Assaf Arkin FIXED request 2.48.0 leaks globals, reverting to 2.47.0
authored
146 FIXED request 2.48.0 leaks globals, reverting to 2.47.0
147
148 686 passing
149 11 sec to complete
150
151
769e284 Assaf Arkin FIXED Browser should show errors for resources that fail to load #794
authored
152 ## Version 2.2.0 2014-11-14
39e2211 Assaf Arkin ADDED window.location.origin #796
authored
153
154 ADDED window.location.origin #796
155
d40e8a7 Assaf Arkin Updated npm dependencies
authored
156 FIXED updated to JSDOM 1.2.1
157
9275c1d Assaf Arkin FIXED browser.evaluate({throws error}) should throw an error #790
authored
158 FIXED browser.evaluate({throws error}) should throw an error #790
159
d5f92bd Assaf Arkin FIXED changing location.hash should be synchronous #781
authored
160 FIXED changing location.hash should be synchronous #781
161
e5c6e22 Assaf Arkin FIXED DNS.lookup(null) should resolve to null IP #783
authored
162 FIXED DNS.lookup(null) should resolve to null IP #783
163
769e284 Assaf Arkin FIXED Browser should show errors for resources that fail to load #794
authored
164 FIXED Browser should show errors for resources that fail to load #794
165
563901d Assaf Arkin REMOVED no longer support cookie folding with comma #792
authored
166 REMOVED no longer support cookie folding with comma #792
167
769e284 Assaf Arkin FIXED Browser should show errors for resources that fail to load #794
authored
168 687 passing
169 11 sec to complete
d40e8a7 Assaf Arkin Updated npm dependencies
authored
170
39e2211 Assaf Arkin ADDED window.location.origin #796
authored
171
e1d0b2a Assaf Arkin FIXED pushState/replaceState should change history immediately #781
authored
172 ## Version 2.1.1 2014-10-23
173
174 FIXED pushState/replaceState should change history immediately #781
175
f25e66d Assaf Arkin Version 2.1.1
authored
176 682 passing
177 10 sec to complete
178
e1d0b2a Assaf Arkin FIXED pushState/replaceState should change history immediately #781
authored
179
3d7199c Assaf Arkin Version 2.1.0
authored
180 ## Version 2.1.0 2014-10-22
47428ea Assaf Arkin Simplified the code for matching links by text/URL
authored
181
9e4a3fa Assaf Arkin FIXED images seem to load twice #780
authored
182 ADDED browser.assert.link can use regular expression to match link URL #770
183
6abc4f8 Assaf Arkin ADDED window now has access to XPathResult and friends #762
authored
184 ADDED window now has access to XPathResult and friends #762
185
9e4a3fa Assaf Arkin FIXED images seem to load twice #780
authored
186 FIXED images seem to load twice #780
47428ea Assaf Arkin Simplified the code for matching links by text/URL
authored
187
3d7199c Assaf Arkin Version 2.1.0
authored
188 680 passing
189 10 sec to complete
47428ea Assaf Arkin Simplified the code for matching links by text/URL
authored
190
6abc4f8 Assaf Arkin ADDED window now has access to XPathResult and friends #762
authored
191
bf717be Assaf Arkin Version 2.0.8
authored
192 ## Version 2.0.8 2014-10-14
3217546 Assaf Arkin Version 2.0.7
authored
193
4c4ca4b Assaf Arkin FIXED console.debug fails when brower.silent = false [Fixes #766]
authored
194 FIXED bump to JSDOM 1.0.3 to fix cssstyle-browserify dependency
195
196 FIXED console.debug fails when brower.silent = false
197
bf717be Assaf Arkin Version 2.0.8
authored
198 671 passing
199 10 sec to complete
4c4ca4b Assaf Arkin FIXED console.debug fails when brower.silent = false [Fixes #766]
authored
200
201
202 ## Version 2.0.7 2014-10-13
203
3217546 Assaf Arkin Version 2.0.7
authored
204 FIXED csstyle bug: Cannot find module './properties'
205
206 671 passing
207 11 sec to complete
208
209
3feef66 Assaf Arkin CHANGED how we show/suppress console.log
authored
210 ## Version 2.0.6 2014-10-11
211
212 CHANGED Output from console.log() and friends goes to console unless
213 `browser.silent = true`. You can also set it globally with
214 `Browser.default.silent = true`. Console output always visible when debugging
215 (`DEBUG=zombie`).
216
44039b2 Assaf Arkin ADDED documentation for debugging using and
authored
217 ADDED documentation for debugging using `DEBUG=zombie` and `browser.silent`.
218
11e4f74 Assaf Arkin Fixed Google maps fixtures
authored
219 671 passing
220 11 sec to complete
221
3feef66 Assaf Arkin CHANGED how we show/suppress console.log
authored
222
c001a3a Assaf Arkin Updated to latests JSDOM
authored
223 ## Version 2.0.5 2014-10-10
224
225 **NOTE** This version introduces a bug from JSDOM, whereby resetting a form will
226 not reset `<select>` elements correctly
227
228 UPDATED to latest JSDOM
229
63ef2c3 Assaf Arkin FIXED Exceptions are being swallowed #761
authored
230 FIXED Exceptions are being swallowed #761
231
c001a3a Assaf Arkin Updated to latests JSDOM
authored
232 Minor other bug fixes
233
234 671 passing
8b7f4ba Assaf Arkin Version 2.0.5
authored
235 11 sec to complete
c001a3a Assaf Arkin Updated to latests JSDOM
authored
236
237
e9ee68f Assaf Arkin FIXED rowser.wait should return a promise when called without open windo...
authored
238 ## Version 2.0.4 2014-09-26
239
b5032d7 Assaf Arkin FIXED browser will sometimes run code asynchronously outside a wait
authored
240 FIXED browser will sometimes run code asynchronously outside a wait
241
242 FIXED browser.wait should return a promise when called without open window #755
243
244 FIXED complain when using event loop of destroyed browser
e9ee68f Assaf Arkin FIXED rowser.wait should return a promise when called without open windo...
authored
245
246 672 tests
247 12 sec to complete
248
249
5e44f8a Assaf Arkin FIXED window.cookies fails with error [Closes #610]
authored
250 ## Version 2.0.3 2014-09-25
251
8d03015 Assaf Arkin FIXED add raise method to xhr to catch errors in handlers #681
authored
252 FIXED window.cookies fails with error #610
5e44f8a Assaf Arkin FIXED window.cookies fails with error [Closes #610]
authored
253
cddcb34 Assaf Arkin FIXED HTMLImageElement._attrModified not passing callback to HTML.resour...
authored
254 FIXED HTMLImageElement._attrModified not passing callback to
255 HTML.resourceLoader.load #624
256
9a5c706 Assaf Arkin Updated CHANGELOG
authored
257 FIXED Add raise method to xhr to catch errors in handlers #681
258
259 FIXED Chunked and gzipped content is not decompressed #707
260
261 672 tests
262 11 sec to complete
8d03015 Assaf Arkin FIXED add raise method to xhr to catch errors in handlers #681
authored
263
5e44f8a Assaf Arkin FIXED window.cookies fails with error [Closes #610]
authored
264
3664d40 Assaf Arkin FIXED don't reuse timer handlers
authored
265 ## Version 2.0.2 2014-09-25
266
4de7653 Assaf Arkin ADDED Only decode HTML documents, and support meta tag with charset
authored
267 ADDED Only decode HTML documents, and support meta tag with charset
268
269 CHANGED Switched from using encoding to iconv-lite
270
271 CHANGED Switched from using Q to Bluebird
3664d40 Assaf Arkin FIXED don't reuse timer handlers
authored
272
76f87dc Assaf Arkin Cleaned up more test cases
authored
273 671 tests
51fbff5 Assaf Arkin Cleaned up some promises code
authored
274 12 sec to complete
275
3664d40 Assaf Arkin FIXED don't reuse timer handlers
authored
276
f8a0543 Assaf Arkin FIXED DNS.lookup should use lookup, not resolve
authored
277 ## Version 2.0.1 2014-09-24
278
279 FIXED DNS.lookup should use lookup, not resolve
280
281
340be90 Assaf Arkin ADDED gulp tag includes changelog
authored
282 ## Version 2.0.0 2014-09-24
e05c3f6 Assaf Arkin Fixed lack of JavaScript source code: CoffeeScript moved to src,
authored
283
340be90 Assaf Arkin ADDED gulp tag includes changelog
authored
284 Much much has changed, and the documentation has not caught up. Here's a
285 partial and incomplete list.
8c7f409 Assaf Arkin When calling console.error, output goes to stderr.
authored
286
11e0a15 Assaf Arkin You can use browser.tabs to manage open tabs
authored
287 `browser.tabs` replaces `browser.windows`. Is now an array so you can access a
288 tab directly (e.g. `browser.tabs[0]`), and also switch tabs more easily (e.g.
289 `browser.tabs.current = 0`).
290
8c7f409 Assaf Arkin When calling console.error, output goes to stderr.
authored
291 `console.log`, `console.error` and friends now emit a `console` event from the
292 browser. First argument is the output type (e.g. "log"), second is the
293 formatted text.
294
295 `console.error` and `console.assert` output to standard error (unless silent).
296
7913434 Assaf Arkin browser.url returns URL of current document.
authored
297 `browser.url` returns the URL of the current document.
298
7f5f983 Assaf Arkin New browser has no open window
authored
299 New browser has no open window. You need to call `visit`, `open` or set
300 `location`.
301
edbd7b4 Assaf Arkin All resources should use fixed file URLs.
authored
302 Brand new implementation of browser history, fixes the "two URLs, one window"
303 issue.
304
0404e4f Assaf Arkin Browser.request/response replace lastRequest/lastResponse
authored
305 `browser.request` and `browser.response` return the request/response used for
306 the last top-most page load. All other resources available from
307 `browser.resources`. These replace `lastRequest` and `lastResponse`.
308
c827307 Assaf Arkin Browser should set focus to element with autofocus
authored
309 Added `browser.activeElement` (removed `browser.focus`) and support for
310 `autofocus` attribute.
311
604d7b6 Assaf Arkin Console, log and error events should be sent to Browser.events
authored
312 Browser is now an `EventEmitter` so you can hook into it and instrument it.
313
97f5c4f Assaf Arkin The `wait` method now takes two optional parameters: options that determ...
authored
314 The `wait` method now takes two optional parameters: options that determine how
315 long to wait and a callback. Options include `duration`, `function` and
316 `element`, the later completing when the element is found in the document.
317
318 The `wait` method's wait function now receives two parameters: the active window
319 and how long the wait is for the next event (0 to Infinity).
320
321 The `visit` method now passes applicable options to `wait` (`duration`,
322 `function`, etc).
323
324 The `maxWait` option is now called `waitDuration` and `waitFor` is no longer
a30d03f Philipp Scheit notice ms and seconds for maxWait and waitDuration
pscheit authored
325 supported. waitDuration should be provided in milliseconds (maxWait was provided in seconds)
97f5c4f Assaf Arkin The `wait` method now takes two optional parameters: options that determ...
authored
326
1e31dca Assaf Arkin Introducing assertsions to make your life all the more easier, for examp...
authored
327 Introducing assertsions to make your life all the more easier, for example:
328
329 browser.element("h1")
330 browser.text("h1", "Header")
331 browser.elements("li", { atLeast: 5 })
332 browser.assert.url("http://example.com")
333
7f09294 Assaf Arkin Zombie should support gzip and deflate
authored
334 Added support for deflat and gzip responses.
335
336 New API for accessing resources, use `browser.resources`. Lots of goodies like
337 allowing you to retrieve resources directory (`resources.get`,
338 `resources.post`), define how resources are handled, emulate server failures
339 (`resources.fail`), delay responses (`resources.delay`), even mock responses
340 (`resources.mock`).
341
340be90 Assaf Arkin ADDED gulp tag includes changelog
authored
342 676 tests
343 12 sec to complete
59caefa Assaf Arkin EventSource test should not wait twice
authored
344
8c7f409 Assaf Arkin When calling console.error, output goes to stderr.
authored
345
9901ab9 Assaf Arkin Fixed another edge case
authored
346 ## Version 1.4.1 2012-08-22
347
348 Fixed another timer edge case.
349
350 550 tests
351 14.5 sec to complete
352
353
354 ## Version 1.4.0 2012-08-22
de24063 Assaf Arkin Updated dependencies, tested with Node 0.8.6
authored
355
3315924 Assaf Arkin Updated changelog
authored
356 Support for browser custom headers ():
357
358 browser.headers =
359 "Accept-Language": "da, en-gb"
360
00ddbe8 Assaf Arkin Fixed window.close and added browser.close
authored
361 `browser.fork()` now copies browser options (Jakub Kulhan).
362
363 Fixed `window.close()` to properly dispose of the context, and added
364 `browser.close()` to properly close all windows and cleanup. If you're running
365 into memory issues, use either method.
de24063 Assaf Arkin Updated dependencies, tested with Node 0.8.6
authored
366
a5d22f1 Assaf Arkin Updated changelog
authored
367 Share the same location instance between history stack entries (David Stendardi)
368
99e9023 Assaf Arkin Do not down-case file: URLs.
authored
369 Do not down-case file: URLs.
370
7d0ca6d Assaf Arkin Use perform to lock event loop during timeout.
authored
371 Implemented `Node.contains` (Dave Dopson).
372
373 Setting `element.style.width` now reflected in value of `element.clientWidth`
374 and `element.offsetWidth` (and same for height).
f250f73 Assaf Arkin Updated changelog
authored
375
7bc86df Assaf Arkin Testing with require.js 2.0.6
authored
376 Upgraded dependencies, tested with Node 0.8.6, jQuery 1.8.0, require.js 2.0.6.
3c506d7 Assaf Arkin Updated changelog
authored
377
8441d6f Assaf Arkin Fail if Contextify module not available.
authored
378 Fail if Contextify module not available.
379
7d0ca6d Assaf Arkin Use perform to lock event loop during timeout.
authored
380 Fixed edge case where timers may fire after `browser.wait` returns.
381
809a688 Assaf Arkin Make sure zero timeout event doesn't fire twice
authored
382 550 tests
d27f14f Assaf Arkin Lookup Contextify and Sizzle relative to JSDOM.
authored
383 14.5 sec to complete
de24063 Assaf Arkin Updated dependencies, tested with Node 0.8.6
authored
384
385
a1da60c Assaf Arkin Empty properties vs attributes.
authored
386 ## Version 1.3.1 2012-06-05
387
388 The `id`, `name` and `value` properties should be empty strings if the
389 corresponding attribute is not set.
390
391 537 tests
392 13.0 sec to complete
393
394
e8e8f35 Assaf Arkin Version 1.3.0
authored
395 ## Version 1.3.0 2012-06-05
1795831 Assaf Arkin browser.text no longer preserves white space.
authored
396
e8e8f35 Assaf Arkin Version 1.3.0
authored
397 Note that `browser.text` now trims and strips consecutive whitespace.
928c29d Assaf Arkin Fixed failing to create empty document on HTTP error.
authored
398
05c8e9a Assaf Arkin maxWait and timing sugar.
authored
399 Added maximum waiting period with the `maxWait` browser option, which defaults
400 to 5 seconds.
401
402 You can set `maxWait` and `wait` duration as number of milliseconds or textual
403 value like "5s", "1m", etc.
404
e8e8f35 Assaf Arkin Version 1.3.0
authored
405 Fixed `a.href` to not break when missing `href` attribute.
406
407 Fixed JS execution bug that messes with require.js.
408
409 Fixed failing to create empty document on HTTP error.
410
411 531 tests
412 12.8 sec to complete
413
1795831 Assaf Arkin browser.text no longer preserves white space.
authored
414
f9093d4 Assaf Arkin Version 1.2.0
authored
415 ## Version 1.2.0 2012-05-28
dd7ddc7 Assaf Arkin Set accept-encoding to "identity".
authored
416
f9093d4 Assaf Arkin Version 1.2.0
authored
417 Added `browser.load` for loading HTML instead of hitting a URL.
dd7ddc7 Assaf Arkin Set accept-encoding to "identity".
authored
418
5c44585 Assaf Arkin Allow browser.select to use the option text.
authored
419 Allow `browser.select` to use the option text.
420
f9093d4 Assaf Arkin Version 1.2.0
authored
421 Reload document when forking browser.
422
423 Set `accept-encoding` to "identity".
424
2251e7b Assaf Arkin [Closes #179] JSON.parse now respects Array.prototype.
authored
425 `JSON.parse` now respects `Array.prototype`.
426
b574601 Assaf Arkin [Closes #137] Implemented window.resizeBy/resizeTo.
authored
427 Implemented `window.resizeBy` and `window.resizeTo`.
428
6476744 Assaf Arkin [Closes #107] Reload document when forking browser.
authored
429 If DOM attribute is not set, `getAttribute` will return `null` just like any
430 browser (though the spec insists on empty string).
431
f9093d4 Assaf Arkin Version 1.2.0
authored
432 Fix all file loading (document and resources) to use same code path.
031f774 Assaf Arkin [Closes #235] De-facto getAttribute.
authored
433
f9093d4 Assaf Arkin Version 1.2.0
authored
434 531 tests
435 12.5 sec to complete
a4ca575 Assaf Arkin [Closes #314] Added browser.load.
authored
436
dd7ddc7 Assaf Arkin Set accept-encoding to "identity".
authored
437
ee4ab2f Assaf Arkin [Closes #345] Create DOM document after Web page has loaded.
authored
438 ## Version 1.1.7 2012-05-27
439
b80930a Assaf Arkin Version 1.1.7
authored
440 Create DOM document after Web page has loaded. If you want to set document
441 location and wait for document to load, so this:
442
443 browser.location = url;
444 browser.on("loaded", function() {
445 // Called after document has loaded
446 ...
447 })
ee4ab2f Assaf Arkin [Closes #345] Create DOM document after Web page has loaded.
authored
448
1d2e463 Assaf Arkin [#302] Remove 'Content Type' and 'Content Length' on redirect (re-fixed....
authored
449 Remove 'Content Type' and 'Content Length' on redirect (re-fixed.)
450
b80930a Assaf Arkin Version 1.1.7
authored
451 513 tests
452 12.2 sec to complete
ee4ab2f Assaf Arkin [Closes #345] Create DOM document after Web page has loaded.
authored
453
454
61219fa Assaf Arkin Version 1.1.6
authored
455 ## Version 1.1.6 2012-05-26
e9e9c77 Assaf Arkin Tweak to in-line script processing to fix a problem no one reported.
authored
456
3a69400 Assaf Arkin Fire focus events when filling fields, selecting options, pressing butto...
authored
457 Fire `focus` and `blur` events when filling fields, selecting fields, pressing
458 button and switching windows.
3f60fcb Assaf Arkin Fire focus and blur events when switching windows.
authored
459
7a2ce28 Assaf Arkin Both focus and blur methods now work.
authored
460 Both `focus` and `blur` methods now work and you can get the `activeElement`.
461
fd663dc Assaf Arkin More tests cleaned with the promise of promises.
authored
462 Tweak to in-line script processing to fix a problem no one reported.
463
7a2ce28 Assaf Arkin Both focus and blur methods now work.
authored
464 513 tests
fd663dc Assaf Arkin More tests cleaned with the promise of promises.
authored
465 12.3 sec to complete
7a2ce28 Assaf Arkin Both focus and blur methods now work.
authored
466
e9e9c77 Assaf Arkin Tweak to in-line script processing to fix a problem no one reported.
authored
467
99f6e9e Assaf Arkin The wait function (and its derivatives) now return most recent error in
authored
468 ## Version 1.1.5 2012-05-24
469
470 The `wait` function (and its derivatives) now return most recent error in
471 callback.
472
473 To use promises and duration function, call `wait` with two arguments, second
474 one being `null`.
475
37f6b05 Assaf Arkin Workaround for the tricky getElementById("foo").querySelector("#foo .bar...
authored
476 Workaround for the tricky `getElementById("foo").querySelector("#foo .bar")`
477 behavior that JSDOM doesn't get quite right.
478
479 500 tests
480 12.3 sec to complete
99f6e9e Assaf Arkin The wait function (and its derivatives) now return most recent error in
authored
481
482
fe8913e Assaf Arkin Make sure wait callback doesn't get the wrong this.
authored
483 ## Version 1.1.4 2012-05-22
484
485 Make sure `wait` callback doesn't get the wrong `this`.
486
487 496 tests
488 11.5 sec to complete
489
490
ddc3a84 Assaf Arkin Updated changelog.
authored
491 ## Version 1.1.3 2012-05-22
6fb198e Assaf Arkin Added tests for promises.
authored
492
9598224 Assaf Arkin Fixed setting cookie on redirect to different domain.
authored
493 Fixed setting cookie on redirect to different domain.
494
11ba968 Assaf Arkin Fixed iframe doesn't retain value of src attribute.
authored
495 Fixed iframe doesn't retain value of src attribute.
496
ddc3a84 Assaf Arkin Updated changelog.
authored
497 Fixed window.close property not set (Jerome Gravel-Niquet).
498
f890e6f Assaf Arkin Added documentation on how to use promises.
authored
499 Added documentation and tests for promises.
6fb198e Assaf Arkin Added tests for promises.
authored
500
ddc3a84 Assaf Arkin Updated changelog.
authored
501 496 tests
502 11.9 sec to complete
6fb198e Assaf Arkin Added tests for promises.
authored
503
504
b8e65d9 Assaf Arkin Trim stack trace at call to contextify.run.
authored
505 ## Version 1.1.2 2012-05-16
506
507 Trim stack trace at call to `contextify.run`. Also, if you upgrade, Contextify
508 no longer dumps error messages to stderr.
509
510 489 tests
511 11.8 sec to complete
512
513
35f0067 Assaf Arkin Version 1.1.1
authored
514 ## Version 1.1.1 2012-05-16
c8b885d Assaf Arkin Closes #339
authored
515
516 Fixes `visit` and `wait` silencing any exceptions thrown during the callback's
517 execution.
518
a25cd9b Assaf Arkin Fixes #329: Added empty navigator.plugins.
authored
519 Added empty `navigator.plugins`.
520
6bdf511 Assaf Arkin [#336] Added atob and btoa to window.
authored
521 Added `atob` and `btoa`.
522
35f0067 Assaf Arkin Version 1.1.1
authored
523 489 tests
524 12.0 sec to complete
c8b885d Assaf Arkin Closes #339
authored
525
526
02d816e Assaf Arkin Fixed CHANGELOG version number.
authored
527 ## Version 1.1.0 2012-05-13
67b004e Assaf Arkin [Fixes #332] Upgraded to HTML5 0.3.8
authored
528
6c1ce1b Assaf Arkin [Closes #218] Added navigator.cookieEnabled and navigator.vendor.
authored
529 Fixed `onload` event not firing on window.
530
531 Added `navigator.cookieEnabled` and `navigator.vendor`.
30dadf4 Assaf Arkin [Fixes #131] Fixed onload event not firing on window.
authored
532
3e17549 Assaf Arkin [Fixes #259] Added empty `Accept-Encoding` header since there's no gzip/...
authored
533 Added empty `Accept-Encoding` header since there's no gzip/compress support at
534 the moment.
535
dbc6f6b Assaf Arkin Version 1.1.0
authored
536 Fixed `Browser` default settings.
537
67b004e Assaf Arkin [Fixes #332] Upgraded to HTML5 0.3.8
authored
538 Upgraded to HTML5 0.3.8.
539
540 487 tests
541 11.8 sec to complete
542
543
0ad21bf Assaf Arkin Version 1.0.0
authored
544 ## Version 1.0.0 2012-05-10
dadf663 Assaf Arkin [Closes #309] Added promises.
authored
545
22000c6 Assaf Arkin New API for setting authentication credentials.
authored
546 Yes, that is right, Zombie now supports promises. Like this:
547
bf6332b Assaf Arkin Fixed CHANGELOG
authored
548 browser.visit("http://localhost:3000/").
549 then(function() {
550 assert.equal(browser.text("H1"), "Deferred zombies");
551 // Chaining works by returning a promise here
552 return browser.clickLink("Hit me");
553 }).
554 then(function() {
555 assert.equal(browser.text("H1"), "Ouch");
556 });
22000c6 Assaf Arkin New API for setting authentication credentials.
authored
557
558 A new way to set authentication credentials so they can be applied to specific
559 host (e.g. HTTP Basic one host, OAuth Bearer another). Like this:
560
bf6332b Assaf Arkin Fixed CHANGELOG
authored
561 // HTTP Basic takes user and password
562 browser.authenticate().basic("me", "secret")
563 // OAuth 2.0 Bearer takes an access token
564 browser.authenticate("example.com:443").bearer("12345")
565 // Show the authentication credentials in use
566 console.log(browser.authenticate().token)
22000c6 Assaf Arkin New API for setting authentication credentials.
authored
567
568 Successfully testing Facebook Connect using Zombie (see
569 `test/facebook_connect_test.coffee`).
570
571 487 tests
572 12.1 sec to complete
dadf663 Assaf Arkin [Closes #309] Added promises.
authored
573
574
943787f Assaf Arkin Changed browser option `windowName` to just `name.`
authored
575 ## Version 0.13.14 2012-05-09
576
577 Changed browser option `windowName` to just `name.`
578
579 Setting browser option to `undefined` no longer resets it to default (that was a
580 stupid idea).
581
d86d7ce Assaf Arkin Support for opening link in specified target (named window, _self, _pare...
authored
582 Support for opening link in specified target (named window, `_self`, `_parent`, `_top` or
583 `_blank`).
584
ffe8b35 Assaf Arkin Fixed Zombie retaining multiple values for the same cookie (domain/path/...
authored
585 Fixed Zombie retaining multiple values for the same cookie (domain/path/key).
586
587 485 tests
588 11.9 sec to complete
943787f Assaf Arkin Changed browser option `windowName` to just `name.`
authored
589
590
5494c66 Assaf Arkin Should be window.select not window.switch.
authored
591 ## Version 0.13.13 2012-05-09
592
593 Should be `windows.select` not `windows.switch`.
594
595 462 tests
596 11.4 sec to complete
597
598
7626f2b Assaf Arkin Cleaned up and documented `browser.windows`.
authored
599 ## Version 0.13.12 2012-05-09
600
601 Cleaned up and documented `browser.windows`.
602
a70457f Assaf Arkin Brought back JSDOM offset patches, Google Maps fails without these.
authored
603 Brought back JSDOM offset patches, Google Maps fails badly without these.
604
7626f2b Assaf Arkin Cleaned up and documented `browser.windows`.
authored
605 462 tests
606 11.4 sec to complete
607
608
208524a Assaf Arkin Fix loading URL with document fragment remove document fragment from pag...
authored
609 ## Version 0.13.11 2012-05-08
610
611 Fix loading URL with document fragment remove document fragment from page
612 location.
613
614 459 tests
615 9.9 sec to complete
616
617
d66042b Assaf Arkin Fixes to old-style event handlers.
authored
618 ## Version 0.13.10 2012-05-07
619
620 Fixed basic/token authentication working for pages but not resources like JS,
621 CSS (David Newell).
622
623 Old-style event handlers (onclick, onsubmit, etc) now have access to event
624 through `window.event`.
625
626 Old-style event handlers can return false to prevent default behavior.
627
628 Added `window.Event` and its siblings `UIEvent`, `MouseEvent`, `MutationEvent`
629 and `StorageEvent`.
630
631 457 tests
632 10.2 sec to complete
633
634
651d00a Assaf Arkin Make sure you can `window.frames[name].postMessage`.
authored
635 ## Version 0.13.9 2012-05-07
636
637 Make sure you can `window.frames[name].postMessage`.
638
639 453 tests
640 9.9 sec to complete
641
642
cd0510d Assaf Arkin Run without Coffee-Script.
authored
643 ## Version 0.13.8 2012-05-04
644
53302cc Assaf Arkin Redirection is now handled by Zombie instead of Request, set cookies to ...
authored
645 Redirection is now handled by Zombie instead of Request, set cookies to the
646 right domain.
647
cd0510d Assaf Arkin Run without Coffee-Script.
authored
648 Run without Coffee-Script.
649
53302cc Assaf Arkin Redirection is now handled by Zombie instead of Request, set cookies to ...
authored
650 453 tests
651 9.7 sec to complete
652
cd0510d Assaf Arkin Run without Coffee-Script.
authored
653
06a7fd6 Assaf Arkin Got FB Connect to show login form ... almost, bug in Request/Replay.
authored
654 ## Version 0.13.7 2012-05-03
711fe02 Assaf Arkin Added support for window.open and working with more than one window at a...
authored
655
a340f98 Assaf Arkin Added postMessage.
authored
656 Added support for `postMessage`.
657
711fe02 Assaf Arkin Added support for window.open and working with more than one window at a...
authored
658 Added support for `window.open()` and working with more than one window at a
02d42ac Assaf Arkin Version 0.13.7
authored
659 time (`browser.windows`).
711fe02 Assaf Arkin Added support for window.open and working with more than one window at a...
authored
660
a340f98 Assaf Arkin Added postMessage.
authored
661 When following redirect with `#` in it, fire the `hashchange` event.
662
663 IFrame window name based on element's `name` attribute.
664
665 Fixed IFrame document and window to include Zombie enhancements.
666
06a7fd6 Assaf Arkin Got FB Connect to show login form ... almost, bug in Request/Replay.
authored
667 Zombie can now show FB Connect form.
668
9023ba7 Assaf Arkin Fix some things that broke accidentally
authored
669 453 tests
02d42ac Assaf Arkin Version 0.13.7
authored
670 9.8 sec to complete
9023ba7 Assaf Arkin Fix some things that broke accidentally
authored
671
a340f98 Assaf Arkin Added postMessage.
authored
672
8866087 Assaf Arkin You can now set document location to `javascript:expression` and it will
authored
673 ## Version 0.13.6 2012-05-02
674
675 You can now set document location to `javascript:expression` and it will
676 evaluate that expression.
677
678 440 tests
679 9.6 sec to complete
680
681
0a4f8f1 Assaf Arkin Switched back to processing DOMNodeInserted on script tags.
authored
682 ## Version 0.13.5 2012-05-02
27e64d0 Assaf Arkin These fixes allow document.write and appendChild to work.
authored
683
0a4f8f1 Assaf Arkin Switched back to processing DOMNodeInserted on script tags.
authored
684 Switched default HTML parser back to the more forgiving
27e64d0 Assaf Arkin These fixes allow document.write and appendChild to work.
authored
685 [HTML5](https://github.com/aredridel/html5):
686
687 - Supports scripts with CDATA
688 - Supports tag soups
689 - Preserve order of execution between in-line and loaded JS code
690 - Support `document.write`
691
0a4f8f1 Assaf Arkin Switched back to processing DOMNodeInserted on script tags.
authored
692 Fix `textContent` of elements that have comments in them to not exclude the
693 comment text .
27e64d0 Assaf Arkin These fixes allow document.write and appendChild to work.
authored
694
695 438 tests
0a4f8f1 Assaf Arkin Switched back to processing DOMNodeInserted on script tags.
authored
696 9.7 sec to complete
27e64d0 Assaf Arkin These fixes allow document.write and appendChild to work.
authored
697
698
d257187 Assaf Arkin Version 0.13.4
authored
699 ## Version 0.13.4 2012-05-01
3cd0b63 Assaf Arkin Upgraded to JSDOM 0.2.14.
authored
700
d257187 Assaf Arkin Version 0.13.4
authored
701 Upgraded to JSDOM 0.2.14. This includes an upgrade to Contextify which fixes an
702 edge case with JS scoping. It also translates to 10% faster tests (On My
703 Machine).
704
705 But HTML processing is a bit more picky right now.
3cd0b63 Assaf Arkin Upgraded to JSDOM 0.2.14.
authored
706
68e746b Assaf Arkin Methods like `visit` now pass error to the callback if they fail to load...
authored
707 Methods like `visit` now pass error to the callback if they fail to load or
708 parse the page. JavaScript execution errors are handled separately.
709
d257187 Assaf Arkin Version 0.13.4
authored
710 436 tests
711 8.0 sec to complete
3cd0b63 Assaf Arkin Upgraded to JSDOM 0.2.14.
authored
712
713
8dbf2d0 Assaf Arkin Version 0.13.3
authored
714 ## Version 0.13.3 2012-04-30
715
716 Fixed failing to redirect after POST request (Vincent P).
717
718 426 tests
719 8.8 sec to complete
720
721
278e961 Assaf Arkin Fixed iframe not loading properly or firing onload event when setting sr...
authored
722 ## Version 0.13.2 2012-04-26
723
724 Fixed iframes not loading properly of firing `onload` event when setting `src`
725 attribute.
726
727 426 tests
728 9.6 sec to complete
729
730
ba3104e Assaf Arkin Only testing for Node 0.6
authored
731 ## Version 0.13.1 2012-04-26
f6c04bb Assaf Arkin Switching from Vows to Mocha.
authored
732
733 Switched from testing with Vows to testing with Mocha. Tests now running
734 sequentially.
735
acaccf4 Assaf Arkin Only testing for Node 0.6
authored
736 Fixed a couple of issues with cookies, also switched to a better implementation,
737 see [Tough Cookie](https://github.com/goinstant/node-cookie)
738
1b0ee6b Assaf Arkin [Closes #283] Zombie now submits empty text fields and checked checkboxe...
authored
739 Zombie now submits empty text fields and checked checkboxes with no value.
740
51e9cca Assaf Arkin Updated changelog
authored
741 Support for script type="text/coffeescript" (audreyt).
742
743 425 tests
744 10.0 sec to complete
f6c04bb Assaf Arkin Switching from Vows to Mocha.
authored
745
746
471f976 Assaf Arkin Version 0.13.0
authored
747 ## Version 0.13.0 2012-04-25
b1a78e1 Assaf Arkin Now requires Node 0.6.x.
authored
748
749 Now requires Node 0.6.x or later. Also upgraded to CoffeeScript 1.3.1, which
750 helped find a couple of skipped tests.
751
fdbfde8 Assaf Arkin By popular demand: proxy!
authored
752 Added support for proxies by using the excellent [Request
753 module](https://github.com/mikeal/request)
754
f58f4f7 Assaf Arkin Fix tests for file upload, brought implementation up to coding standard.
authored
755 Added File object in browser (Ian Young)
756
46c7c00 Assaf Arkin Added support for EventSource (SSE)
authored
757 Added support for EventSource (see [Server-Sent Events](http://dev.w3.org/html5/eventsource/))
758
b1a78e1 Assaf Arkin Now requires Node 0.6.x.
authored
759
9f84f3f Assaf Arkin Version 0.2.15
authored
760 ## Version 0.12.15 2012-02-23
761
762 Maintenance release: JSDOM 0.2.11/12 is broken, fixing to 0.2.10 (Mike Swift)
763
764
1510da4 Assaf Arkin Testing cancellation of submit event
authored
765 ## Version 0.12.14 2012-02-07
ea15b26 Assaf Arkin Methods like visit and fire no longer call wait if there's no callback.
authored
766
15676f1 Assaf Arkin Fix redirect not passing the same headers again.
authored
767 Fix redirect not passing the same headers again.
768
158e99b Assaf Arkin Version 0.12.14
authored
769 412 tests
770 6.4 sec to complete
771
15676f1 Assaf Arkin Fix redirect not passing the same headers again.
authored
772
f43c28c Assaf Arkin Version 0.12.13
authored
773 ## Version 0.12.13 2012-01-18
774
3eec41f Assaf Arkin Browser.fire takes no options (that was an undocumented argument), and a...
authored
775 `Browser.fire` takes no options (that was an undocumented argument), and always fires events that bubble and can be
776 cancelled.
777
446d57e Assaf Arkin Clicking on checkbox or radio button now changes the value and
authored
778 Clicking on checkbox or radio button now changes the value and propagated the click event. If `preventDefault`, the
779 value is changed back.
780
f43c28c Assaf Arkin Version 0.12.13
authored
781 411 tests
782 6.0 sec to complete
783
3eec41f Assaf Arkin Browser.fire takes no options (that was an undocumented argument), and a...
authored
784
7f0fb17 Assaf Arkin Version 0.12.12
authored
785 ## Version 0.12.12 2012-01-16
786
9aeca62 Assaf Arkin Added element offset properties. Google Maps demand these.
authored
787 Added element offset properties. Google Maps demand these.
788
7f0fb17 Assaf Arkin Version 0.12.12
authored
789 406 tests
790 5.9 sec to complete
791
9aeca62 Assaf Arkin Added element offset properties. Google Maps demand these.
authored
792
4b6c494 Assaf Arkin Version 0.12.11
authored
793 ## Version 0.12.11 2012-01-06
794
795 Maintenance update, mostly more test coverage, and updates to dependencies.
796
797 403 tests
798 4.4 sec to complete
799
800
2a719ae Assaf Arkin Version 0.12.10
authored
801 ## Version 0.12.10 2012-01-01
802
bbd8016 Assaf Arkin Updated CHANGELOG
authored
803 Brought back Web Sockets support (Justin Latimer)
804
805 Using JSDOM offsets (Justin Tulloss)
806
2a719ae Assaf Arkin Version 0.12.10
authored
807 388 tests
808 3.8 sec to complete
bbd8016 Assaf Arkin Updated CHANGELOG
authored
809
810
bee8909 Assaf Arkin Version 0.12.9
authored
811 ## Version 0.12.9 2011-12-23
812
2b9c2f7 Assaf Arkin Added support for httpOnly cookies.
authored
813 Added support for `httpOnly` cookies.
814
815 You can now call `browser.cookies` with no arguments to return cookies for the current domain (based on the hostname of
816 the currently loaded page).
817
ee1bf5c Assaf Arkin You can now pass referer header
authored
818 You can now pass `referer` header:
819
820 browser.visit("/page", referer: "http://google.com", function() {
bee8909 Assaf Arkin Version 0.12.9
authored
821 . . .
ee1bf5c Assaf Arkin You can now pass referer header
authored
822 })
823
bee8909 Assaf Arkin Version 0.12.9
authored
824 Apply 5 second time limit on `browser.wait`, even if there's something going on (e.g. pull requests).
825
826 387 tests
827 3.9 sec to complete
828
2b9c2f7 Assaf Arkin Added support for httpOnly cookies.
authored
829
77fe83e Assaf Arkin Version 0.12.8
authored
830 ## Version 0.12.8 2011-12-20
831
a5cf9e0 Assaf Arkin #236 without swallowing exceptions
authored
832 Browser implementations of clearInterval/clearTimeout do not throw exceptions (Justin Tulloss)
833
da2dff3 Assaf Arkin [Closes #228] This patch fixes the fact that Resources toString throws e...
authored
834 Fix resources.toString throwing an error (Mr Rogers)
835
77fe83e Assaf Arkin Version 0.12.8
authored
836 374 tests
837 3.9 sec to complete
838
a5cf9e0 Assaf Arkin #236 without swallowing exceptions
authored
839
ea15b26 Assaf Arkin Methods like visit and fire no longer call wait if there's no callback.
authored
840 ## Version 0.12.7 2011-12-19
841
842 Methods like `visit` and `fire` no longer call `wait` if there's no callback.
843
844 The wait callback is called from `nextTick`. Fixes a possible race condition.
845
846 366 Tests
847 3.7 sec to complete
848
849
746db25 Assaf Arkin Version 0.12.6
authored
850 ## Version 0.12.6 2011-12-18
851
8eef695 Assaf Arkin You can now tell `browser.wait` when to complete processing events
authored
852 You can now tell `browser.wait` when to complete processing events by passing either duration (in milliseconds) or a
853 function that returns true when done. For example:
854
855 browser.wait(500, function() {
856 // Waits no longer than 0.5 second
857 })
858
859 function mapIsVisible(window) {
860 return window.querySelector("#map");
861 }
862 browser.wait(mapIsVisible, function() {
863 // Waits until the map element is visible on the page
864 })
865
adf4d46 Assaf Arkin Default waitFor is now 0.5 seconds. Also updated documentation.
authored
866 Reduced default `waitFor` from 5 seconds to 0.5 seconds. That seems good enough default for most pages.
867
868 366 Tests
746db25 Assaf Arkin Version 0.12.6
authored
869 3.7 sec to complete
cec0f07 Assaf Arkin Reduced default `waitFor` from 5 seconds to one. Can easily be
authored
870
871
e7d2026 Assaf Arkin Added `browser.history` for accessing history for the current
authored
872 ## Version 0.12.5 2011-12-16
873
39f70ed Assaf Arkin `Zombie` and `Browser` are no longer distinct namespaces. What you
authored
874 `Zombie` and `Browser` are no longer distinct namespaces. What you require is the `Browser` class that also includes
875 all the methods previously defined for `Zombie`. For example:
876
877 var Browser = require("zombie")
878
879 // This setting applies to all browsers
880 Browser.debug = true
881 // Create and use a new browser instance
882 var browser = new Browser()
883 browser.visit("http://localhost:3001", function() {
884 ...
885 })
886
e7d2026 Assaf Arkin Added `browser.history` for accessing history for the current
authored
887 Added `browser.history` for accessing history for the current window, `browser.back` for navigating to the previous page
888 and `browser.reload` for reloading the current page.
889
3f933b3 Assaf Arkin Fixed a bug whereby navigating back in push-state history would reload d...
authored
890 Fixed a bug whereby navigating back in push-state history would reload document.
891
39f70ed Assaf Arkin `Zombie` and `Browser` are no longer distinct namespaces. What you
authored
892 363 Tests
893 2.4 sec to complete
894
e7d2026 Assaf Arkin Added `browser.history` for accessing history for the current
authored
895
2a62adc Assaf Arkin Version 0.12.4
authored
896 ## Version 0.12.4 2011-12-16
897
898 Return undefined for response status when there is no response.
899
900 362 Tests
901 2.4 sec to complete
902
903
ece53c7 Assaf Arkin Version 0.12.3
authored
904 ## Version 0.12.3 2011-12-13
905
906 Fixed issue when globally declared variables with no values are not accessible (Brian McDaniel)
907
908 362 Tests
909 2.6 sec to complete
910
911
b5fff4f Assaf Arkin Version 0.12.2
authored
912 ## Version 0.12.2 2011-12-12
ab32231 Assaf Arkin Added changelog entry and cleaned source code
authored
913
ea4db91 Assaf Arkin [Closes #224] Added global options, e.g.
authored
914 Added global options, for example:
915
916 Zombie.site = "http://localhost:3003"
917 Zombie.visit("/browser/test", function() {
918 ...
919 })
920
7079f78 Assaf Arkin You can put Zombie in debug mode by setting environment variable `DEBUG`...
authored
921 You can put Zombie in debug mode by setting environment variable `DEBUG`, for example:
922
923 $ DEBUG=true vows
924
802e899 Assaf Arkin [Closes #220] Added `silent` option to suppress all `console.log`
authored
925 Also added `silent` option to suppress all `console.log` output from scripts.
926
ab32231 Assaf Arkin Added changelog entry and cleaned source code
authored
927 Support origin in websockets (Glen Mailer)
928
d9e7dd2 Assaf Arkin Proper support for CSS style property.
authored
929 Proper support for CSS style `opacity` property.
930
b5fff4f Assaf Arkin Version 0.12.2
authored
931 360 Tests
932 2.5 sec to complete
933
ab32231 Assaf Arkin Added changelog entry and cleaned source code
authored
934
0b93aa9 Assaf Arkin Updated changelog
authored
935 ## Version 0.12.1 2011-12-06
936
937 Added `browser.success`, returns true if status code is 2xx.
938
939 Updated documentation to better reflect new API features and behaviors. Catching up on the many changes since 0.11.
940
6511b49 Assaf Arkin The real 0.12.1
authored
941 DOM events now dispatched asynchronously as part of event loop.
942
943 Allow `//<hostname>` URLs to be used in more places
944
0b93aa9 Assaf Arkin Updated changelog
authored
945 359 Tests
946 2.4 sec to complete
947
948
8628b9e Assaf Arkin Trying with TMP env var
authored
949 ## Version 0.12.0 2011-12-06
c429367 Assaf Arkin Updated documentation
authored
950
951 Zombie is now using real timers instead of the fake clock. That means that a `setTimeout(fn, 5000)` will actually take
952 5 seconds to complete.
953
e7459ce Assaf Arkin Introduced waitFor
authored
954 The `wait` method will wait for short timers (up to 5 seconds), which are quite common for some UI effects, setting up
955 the page, etc. The maximum wait time is specified by the browser option `waitFor`.
956
957 If you need to wait longer, you can call `wait` with a time duration as the first argument.
f90c2af Assaf Arkin Log redirect and error responses in debug mode
authored
958
959 Log redirect and error responses in debug mode.
960
e7459ce Assaf Arkin Introduced waitFor
authored
961 353 Tests
962 2.4 sec to complete
963
5802c25 Assaf Arkin Updated changelog
authored
964
d6e3541 Assaf Arkin Version 0.11.4
authored
965 ## Version 0.11.8 2011-12-04
5802c25 Assaf Arkin Updated changelog
authored
966
967 Added `browser.query` and `browser.queryAll`. Deprecated `browser.css`;
968 planning to use it for something else post 1.0.
969
970 Calling `html` or `text` when the document is not an HTML page returns
971 the text contents. Particularly useful if you're looking at the
972 contents of what should be an HTML page, but got 404 or 500 insteas.
973
974 357 Tests
d6e3541 Assaf Arkin Version 0.11.4
authored
975 2.0 sec to complete
976
5802c25 Assaf Arkin Updated changelog
authored
977
321f5ab Assaf Arkin Updated changelog
authored
978 ## Version 0.11.7 2011-11-30
979
980 Fixed `console.log` formatting `%s`, `%d` (Quang Van).
981
982 Fixed `viewInBrowser`.
983
984 Updated documentation to mention `browser.errors and
985 `browser.resources`, and that `cake watch` and `cake build` are no
986 longer necessary.
987
988 Fix to load cookies that contain equal signs and quotes in the value.
989
990 347 Tests
991 2.0 sec to complete
992
993
b9518cc Assaf Arkin Version 0.11.6
authored
994 ## Version 0.11.6 2011-11-27
995
996 Fixed loading of cookies/history from file, so empty lines are ignored.
997
998 Show JavaScript source location when failing to execute in script element.
999
1000 Don't execute timer/interval that has been removed.
1001
1002 347 Tests
1003 2.0 sec to complete
1004
1005
919b28f Assaf Arkin Fixes `Browser is not defined` error.
authored
1006 ## Version 0.11.5 2011-11-27
1007
1008 Fixes `Browser is not defined` error.
1009
1010 347 Tests
1011 2.0 sec to complete
1012
1013
c4274fe Assaf Arkin Added zombie.js to load without coffee-script
authored
1014 ## Version 0.11.4 2011-11-27
1015
1016 Added missing zombie.js.
1017
1018 347 Tests
1019 2.0 sec to complete
1020
1021
cb218ae Assaf Arkin Updated changelog
authored
1022 ## Version 0.11.3 2011-11-26
1023
1024 Iframes will now load their content when setting src attribute.
1025
1026 Internal changes: resources, event loop associated with browser, history
1027 associated with window.
1028
1029 Updated installation instructions for Ubuntu.
1030
9072538 Assaf Arkin Fixed cake test
authored
1031 347 Tests
1032 2.2 sec to complete
1033
cb218ae Assaf Arkin Updated changelog
authored
1034
6b13b29 Assaf Arkin Clean up whitespace, added changelog for #205
authored
1035 ## Version 0.11.2 2011-11-22
1036
1037 Send Content-Length in URL-encoded form requests (Sven Bange).
1038
ee58c31 Assaf Arkin [#202] Authorization method changed to scheme (see RFC2617)
authored
1039 Added support for HTTP Basic and OAuth 2.0 authorization (Paul Dixon).
1040
b81d753 Assaf Arkin Version 0.11.2
authored
1041 344 Tests
1042 1.9 sec to complete
1043
6b13b29 Assaf Arkin Clean up whitespace, added changelog for #205
authored
1044
24b410f Assaf Arkin Version 0.11.1
authored
1045 ## Version 0.11.1 2011-11-21
1046
1047 Better error reporting when executing JS asynchronoulsy (timers, XHR).
1048
1049 Event loop keeps processing past errors.
1050
1051 333 Tests
1052 1.8 sec to complete
1053
1054
2757a57 Assaf Arkin Version 0.11.0
authored
1055 ## Version 0.11.0 2011-11-20
e7d1a78 Assaf Arkin Changed error handling for the better.
authored
1056
1057 Changed error handling for the better.
1058
1059 Calling browser.wait or browser.visit no longer passed the
1060 resource/JavaScript error as the first argument, and will continue
1061 processing if there are multiple errors.
1062
1063 Instead, an array of errors is passed as the fourth argument. You can
1064 also access `browser.errors` and to get just the last one, e.g. to
1065 check if any errors were reported, use `browser.error`.
1066
b1bfc13 Assaf Arkin Less verbose console.log.
authored
1067
1068 Using `console.log(browser)` will puke over your terminal, so we add
1069 global defaults for sanity.
1070
1071 Set `console.depth` to specify how many times to recurse while
1072 formatting the object (default is zero).
1073
1074 Set `console.showHidden` to show non-enumerable properties (defaults to
1075 false).
1076
1077
e7d1a78 Assaf Arkin Changed error handling for the better.
authored
1078 333 Tests
1079 1.7 sec to complete
1080
1081
fa1d12c Assaf Arkin Version 0.10.3
authored
1082 ## Version 0.10.3 2011-11-18
f4fb2ce Assaf Arkin Added site option allowing you to use visit with a relative path.
authored
1083
1084 Added site option allowing you to call `visit` with a relative path.
1085 Example:
1086
1087 browser = new Browser(site: "localhost:3000")
1088 browser.visit("/testing", function(error, browser) {
1089 })
1090
1091 Fixed uploading of attachments to work with Connect/Express (and
1092 possibly other servers). Formidable (used by Connect) does not support
1093 Base64 encoding. Sending binary instead.
1094
1095 Tested on Node 0.6.1.
1096
1097 330 Tests
1098 2.1 sec to complete
1099
1100
15b4efa Assaf Arkin Version 0.10.2
authored
1101 ### Version 0.10.2 2011-10-13
57bba4e Assaf Arkin Updated changelog
authored
1102
1103 Fixed #173 browser.open() causes Segmentation fault (Brian McDaniel)
1104
15b4efa Assaf Arkin Version 0.10.2
authored
1105 Upgraded to JSDOM 0.2.7.
1106
57bba4e Assaf Arkin Updated changelog
authored
1107
9d9be8e Assaf Arkin Version 0.10.1
authored
1108 ### Version 0.10.1 2011-09-08
a1186c4 Assaf Arkin Updated changelog
authored
1109
1110 Tests that this == window == top == parent. True when evaluated within
1111 the context of the browser, not necessarily when using browser.window.
1112
b0cd009 Assaf Arkin Updated changelog
authored
1113 Removed JSDOM patch for iframes, no tests failing, let's see what
1114 happens ...
1115
1116 Fixes #164 jQuery selectors with explicit context fail.
1117
1118 Better stack traces for client-side JS. This will help in debugging and
1119 filing issues.
1120
1121 Updated installation instructions for OS X/Windows.
1122
1123 Upgraded to JSDOM 0.2.4 and testing with jQuery 1.6.3.
1124
1125 329 Tests
1126 2.9 sec to complete
1127
a1186c4 Assaf Arkin Updated changelog
authored
1128
e0eea9f Assaf Arkin Upgrade changelog
authored
1129 ### Version 0.10.0 2011-08-27
2022e1b Assaf Arkin Added browser.loadCSS and browser.htmlParser options.
authored
1130
e0eea9f Assaf Arkin Upgrade changelog
authored
1131 Upgraded to [JSDOM](https://github.com/tmpvar/jsdom) 0.2.3 which brings
1132 us a Window context that works for asynchronous invocations (that would
1133 be timers, XHR and browser.evaluate), and many many other improvements.
1134
1135 Tested for compatibility with jQuery 1.6.2. Yes. It works.
1136
1137
1138 *NOTE*: This release uses
1139 [htmlparser](https://github.com/gmosx/htmlparser) as the default parser,
1140 while waiting for some bug fixes on
1141 [HTML5](https://github.com/aredridel/html5). Unfortunately, htmlparser
1142 is limited in what it can accept and properly parse. Be aware of the
1143 following issues:
1144
1145 - Your document *must* have `html`, `head` and `body` elements.
1146 - No CDATAs. But then again, CDATA is so 1999.
1147 - Tag soups break the parser.
1148 - Scripts can't use `document.write`. Again, it's not 1999.
b71c825 Assaf Arkin Browser specs now passing
authored
1149
1150
2022e1b Assaf Arkin Added browser.loadCSS and browser.htmlParser options.
authored
1151 Added `browser.loadCSS` option. Set this to load external stylesheets.
1152 Defaults to `true`.
1153
1154 Added `browser.htmlParser` option. Tells JSDOM which HTML5 parser to
1155 use. Use `null` for the default parser.
1156
e0eea9f Assaf Arkin Upgrade changelog
authored
1157 Fixed handling of `file` protocol.
40e02da Assaf Arkin DRYed jquery-compat
authored
1158
2022e1b Assaf Arkin Added browser.loadCSS and browser.htmlParser options.
authored
1159
f78fcab Assaf Arkin [Closed #158] require.paths is deprecated
authored
1160 ### Version 0.9.7 2011-07-28
1161
1162 Fixed: require.paths is deprecated [#158]
1163
ca6efe3 Assaf Arkin [Closed #151] Fixed not running script specs due to bug in
authored
1164 Fixed: missing pathname support for window.location.href [#156]
1165
229a42b Assaf Arkin Version 0.9.7
authored
1166 Fixed: not running script specs due to bug in CoffeeScript (iPaul
1167 Covell) [#151]
1168
1169 Updated documentation to clarify installation instructions for OS X and
1170 Ubuntu.
ca6efe3 Assaf Arkin [Closed #151] Fixed not running script specs due to bug in
authored
1171
1172 311 Tests
1173 4.5 sec to complete
4172c64 Assaf Arkin [Closes #156] missing pathname support for window.location.href
authored
1174
f78fcab Assaf Arkin [Closed #158] require.paths is deprecated
authored
1175
8d14285 Assaf Arkin Updated CHANGELOG
authored
1176 ### Version 0.9.6 2011-07-28
1177
1178 Implements file:// requests using node.js' native fs module rather than
1179 leaning on its http module (Ryan Petrello)
1180
06d7a09 Assaf Arkin Updated CHANGELOG
authored
1181 Added a basic infection/installation section to documentation (terryp)
1182
0ff156d Assaf Arkin Modified resources and xhr to better work with SSL (Ken Sternberg)
authored
1183 Modified resources and xhr to better work with SSL (Ken Sternberg)
1184
d72cad0 Assaf Arkin Fixed tests to work properly with Express 2.0.
authored
1185
9292879 Assaf Arkin Version 0.9.5
authored
1186 ### Version 0.9.5 2011-04-11
d72cad0 Assaf Arkin Fixed tests to work properly with Express 2.0.
authored
1187
cffaabb Assaf Arkin Updated changlog.
authored
1188 Callbacks on input/select changes (Julien Guimont)
1189
d72cad0 Assaf Arkin Fixed tests to work properly with Express 2.0.
authored
1190 Fix type that broke compatibility with jQuery 1.5.1 (Chad Humphries)
1191
fb16ce4 Assaf Arkin Updated changelog.
authored
1192 Enabled window.Image to accept height and width attributes [#35]
1193
1194 Implemented window.navigator.javaEnabled() [#35]
1195
1196 Added setter for document.location [#90]
1197
9292879 Assaf Arkin Version 0.9.5
authored
1198 Fixed XPath Sorting / Specs (Blake Imsland)
1199
1200 311 Tests
1201 4.5 sec to complete
d72cad0 Assaf Arkin Fixed tests to work properly with Express 2.0.
authored
1202
1203
1fa333f Assaf Arkin Version 0.9.4
authored
1204 ### Version 0.9.4 2011-02-22
6852507 Assaf Arkin [Fixes #51] Fixes `eval` to execute in the global scope.
authored
1205
ba43510 Assaf Arkin Updated changelog.
authored
1206 Added preliminary support for Web sockets (Ben Ford).
1207
6852507 Assaf Arkin [Fixes #51] Fixes `eval` to execute in the global scope.
authored
1208 Fixes `eval` to execute in the global scope.
1209
ffdd189 Assaf Arkin Updated changelog.
authored
1210 Fixes error when dumping cookies (Christian Joudrey).
1211
1212 Fixed some typos in the README (Jeff Hanke).
68aab2f Assaf Arkin Updated changelog.
authored
1213
1fa333f Assaf Arkin Version 0.9.4
authored
1214 Speed bump from running on Node 0.4.1.
1215
ba43510 Assaf Arkin Updated changelog.
authored
1216 295 Tests
1fa333f Assaf Arkin Version 0.9.4
authored
1217 2.9 sec to complete
6852507 Assaf Arkin [Fixes #51] Fixes `eval` to execute in the global scope.
authored
1218
1219
a29425f Assaf Arkin Fixes seg fault when Zombie fails to compile a script.
authored
1220 ### Version 0.9.3 2011-02-22
1221
1222 Fixes seg fault when Zombie fails to compile a script.
1223
1224 293 Tests
1225 3.3 sec to complete
1226
1227
391d3ce Assaf Arkin Version 0.9.2
authored
1228 ### Version 0.9.2 2011-02-21
1229
1230 Fixes a couple of specs, plugs hole in array to prevent segfaults, and
1231 adds try/catch to leave context after executing script.
1232
1233 292 Tests
1234 3.3 sec to complete
b56b9db Assaf Arkin Separated two tests with the same name.
authored
1235
1236
0cd166b Assaf Arkin Feeble attempt to fix window == this issue, and breaking iframes.
authored
1237 ### Version 0.9.1 2011-02-17
1238
1239 Some internal changes to history. Breaks iframe.
1240
1241 289 Tests
1242 3.3 sec to complete
1243
1244
ab6f5ff Assaf Arkin Getting ready for next release.
authored
1245 ### Version 0.9.0 2011-02-17
b57cc1e Assaf Arkin [#37] Changelog entry for 0.8.14
authored
1246
ab6f5ff Assaf Arkin Getting ready for next release.
authored
1247 New isolated contexts for executing JavaScript. This solves a long
1248 standing problems with pages that have more than one script. Briefly
1249 speaking, each window gets it's own context/global scope that is shared
1250 by all scripts loaded for that page, but isolated from all other
1251 windows.
ef05ce0 Assaf Arkin [#37] Cleanup.
authored
1252
2c5ef67 Assaf Arkin [Fixes #87] Fixes URL resolution in XHR requests with no port.
authored
1253 Fixes error handling on timeout/XHR scripts, these now generate an
2a8aed2 Assaf Arkin [#37] Compile scripts once, speed up test suite.
authored
1254 `onerror` event.
1255
9c61377 Assaf Arkin Eventloop is now property of window, not browser.
authored
1256 Eventloop is now associated with window instead of browser.
1257
c245ca6 Assaf Arkin Version 0.9.0
authored
1258 Fixes URL resolution in XHR requests with no port.
2c5ef67 Assaf Arkin [Fixes #87] Fixes URL resolution in XHR requests with no port.
authored
1259
ef05ce0 Assaf Arkin [#37] Cleanup.
authored
1260 293 Tests
c245ca6 Assaf Arkin Version 0.9.0
authored
1261 3.3 sec to complete
ef05ce0 Assaf Arkin [#37] Cleanup.
authored
1262
b57cc1e Assaf Arkin [#37] Changelog entry for 0.8.14
authored
1263
8223670 Assaf Arkin Correct date in changelog.
authored
1264 ### Version 0.8.13 2011-02-11
551f179 Assaf Arkin Upgraded to HTML5 0.2.13.
authored
1265
fd82106 Assaf Arkin Version bump.
authored
1266 Tested with Node 0.4.0.
1267
a74419f Assaf Arkin Fixes #71 cookie names now preserve case.
authored
1268 Add support for IFRAMEs (Damian Janowski).
1269
551f179 Assaf Arkin Upgraded to HTML5 0.2.13.
authored
1270 Upgraded to HTML5 0.2.13.
1271
a74419f Assaf Arkin Fixes #71 cookie names now preserve case.
authored
1272 Fixes #71 cookie names now preserve case.
1273
c637066 Assaf Arkin Fixes #69 incorrectly resolving partial URLs in XHR requests.
authored
1274 Fixes #69 incorrectly resolving partial URLs in XHR requests.
1275
fd82106 Assaf Arkin Version bump.
authored
1276 Fixes `browser.clock` to use `Date.now` instead of `new Date` (faster).
65c84cc Assaf Arkin Fix browser.clock to user Date.now instead of new Date (faster!)
authored
1277
fd82106 Assaf Arkin Version bump.
authored
1278 Fixes `browser.dump`.
65c84cc Assaf Arkin Fix browser.clock to user Date.now instead of new Date (faster!)
authored
1279
1280 In debug mode, show when firing timeout/interval.
1281
fd82106 Assaf Arkin Version bump.
authored
1282 Added `cake install`.
1283
4582104 Assaf Arkin Express 1.0.7 request parsing under Node 0.3.7 still broken,
authored
1284 293 Tests
fd82106 Assaf Arkin Version bump.
authored
1285 3.7 sec to complete
551f179 Assaf Arkin Upgraded to HTML5 0.2.13.
authored
1286
b80c3e8 Assaf Arkin Added the `field` (find an input field, textarea, etc), `link` (find
authored
1287
1945012 Assaf Arkin Version bump to 0.8.12.
authored
1288 ### Version 0.8.12 2011-02-01
aad1d7a Damian Janowski Add missing entry in changelog.
djanowski authored
1289
217f4a4 Assaf Arkin Added browser.fork to documentation.
authored
1290 Tested with Node 0.3.7 in preparation for Node 0.4.0.
1291
1292 Added `browser.fork` (Josh Adell):
1293
1294 > Return a new browser using a snapshot of this browser's state. This
1295 method clones the forked browser's cookies, history and storage. The
1296 two browsers are independent, actions you perform in one browser do not
1297 affect the other.
1298
1299 > Particularly useful for constructing a state (e.g. sign in, add items
1300 to a shopping cart) and using that as the base for multiple tests, and
1301 for running parallel tests in Vows.
1302
aad1d7a Damian Janowski Add missing entry in changelog.
djanowski authored
1303 Fix firing the `change` event on `SELECT` elements when using jQuery
1304 (Damian Janowski).
1305
681b353 Damian Janowski Fix for `jQuery.ajax` receiving a non-string `data` option.
djanowski authored
1306 Fix for `jQuery.ajax` receiving a non-string `data` option (Damian
1307 Janowski).
1308
031ad81 Assaf Arkin Added changelog entry.
authored
1309 Fix to allow `script` elements that are not JavaScript (Sean Coates).
1310
1311 NOTE: In this release I started running the test suite using `cake test`
1312 and recording the time reported by Vows. This doesn't count the
1313 time it takes to fire up Node, Cake, etc, so the reported time is
1314 approximately a second smaller than the previously reported time for
1315 0.8.11. All other things being equal.
1316
a2b92c9 Assaf Arkin Copy browser history when forking.
authored
1317 292 Tests
1318 3.7 sec to complete
5eb661f Assaf Arkin You can now run Zombie without base64 module, if you're not planning
authored
1319
aad1d7a Damian Janowski Add missing entry in changelog.
djanowski authored
1320
719fd7d Assaf Arkin Version bump.
authored
1321 ### Version 0.8.11 2011-01-25
ffc09ac Assaf Arkin We still need a document element when response body is empty.
authored
1322
4eb2bf3 Bob Lail updated changelog
boblail authored
1323 Added `browser.source` which returns the unmodified source of
1324 the current page (Bob Lail).
1325
1326 Added support for the Referer header (Vinicius Baggio).
1327
ddf2851 Bob Lail updated changelog
boblail authored
1328 If cookies do not specify a path, they are set to the root path
1329 rather than to the request path (Bob Lail).
1330
1331 Cookies are allowed to specify paths other than the request path
1332 (Bob Lail).
1333
ffc09ac Assaf Arkin We still need a document element when response body is empty.
authored
1334 Ensure fields are sent in the order they are described (José Valim).
1335
1336 Fix parsing of empty body (Vinicius Baggio).
1337
ac8f5cc Assaf Arkin Zombie now sends V0 cookies (Assaf Arkin).
authored
1338 Add support for window.screen (Damian Janowski).
1339
1340 Zombie now sends V0 cookies (Assaf Arkin).
1341
a34ff6e Assaf Arkin Don't run SSL test for now, since it depends on remote service.
authored
1342 Fix for loading scripts over SSL (Damian Janowski).
1343
25ec4e2 Assaf Arkin Added window.resources to return all resources loaded by the page
authored
1344 Added `window.resources` to return all resources loaded by the page
1345 (including the page itself). You can see what the page is up with:
1346
1347 browser.window.resources.dump()
1348
1349 Modified `lastRequest`/`lastResponse` to use the window resources, fixed
1350 `browser.status` and `browser.redirected` to only look at the page
1351 resource itself.
1352
45aba85 Assaf Arkin Added specs or Zombie protocol.
authored
1353 282 Tests
1354 4.3 sec to complete
ffc09ac Assaf Arkin We still need a document element when response body is empty.
authored
1355
1356
f3c6a87 Assaf Arkin Today is the 13th.
authored
1357 ### Version 0.8.10 2011-01-13
8c590b1 Assaf Arkin Updated changelog.
authored
1358
1359 Allow setting cookies from subdomains (Damian Janowski & Michel Martens).
1360
1361 Modified `browser.fire` to fire MouseEvents as well (Bob Lail).
1362
1363 Added `window.title` accessor (Bob Lail).
1364
bba4278 Assaf Arkin Fixed `window.navigator.userAgent` to return `userAgent` property
authored
1365 Fixed `window.navigator.userAgent` to return `userAgent` property (same
1366 as sent to server) (Assaf Arkin).
1367
17842a8 Assaf Arkin Added support for `alert`, `confirm` and `prompt`.
authored
1368 Added support for `alert`, `confirm` and `prompt` (Assaf Arkin).
1369
9bbd3a0 Assaf Arkin Added accessors for status code from last respone
authored
1370 Added accessors for status code from last respone (`browser.statusCode`)
9778d9e Assaf Arkin The `visit`, `clickLink` and `pressButton` methods now pass three
authored
1371 and whether last response followed a redirect (`browser.redirected`)
1372 (Assaf Arkin).
9bbd3a0 Assaf Arkin Added accessors for status code from last respone
authored
1373
9778d9e Assaf Arkin The `visit`, `clickLink` and `pressButton` methods now pass three
authored
1374 The `visit`, `clickLink` and `pressButton` methods now pass three
1375 arguments to the callback: error, browser and status code (Assaf Arkin).
1376
1377 265 Tests
1378 3.7 sec to complete
8c590b1 Assaf Arkin Updated changelog.
authored
1379
1380
1381
43b4c33 Assaf Arkin Fixed Web site links to not require .html.
authored
1382 ### Version 0.8.9 2011-01-10
0ddf4ab Assaf Arkin Updated changelog.
authored
1383
1384 Properly use the existance operator so empty strings are sent (José Valim).
1385
9700c7c Assaf Arkin Upgraded to HTLM5 0.2.9.
authored
1386 Fix to XPath evaluation and sorting by document order (José Valim).
1387
b3f816a Assaf Arkin Added documentation for new API methods unselect, selectOption and
authored
1388 Added `unselect`, `selectOption` and `unselectOption` to browser (Bob
1389 Lail).
1390
1391 Added `cookies.clear` (Bob Lail).
1392
1393 You can now call browser methods that accept a selector (e.g. `fill`,
1394 `select`) with the element itself.
1395
1396 Fix to populate fields even if field type is invalid (Bob Lail).
1397
43b4c33 Assaf Arkin Fixed Web site links to not require .html.
authored
1398 Update to HTML5 0.2.12.
0ddf4ab Assaf Arkin Updated changelog.
authored
1399
b3f816a Assaf Arkin Added documentation for new API methods unselect, selectOption and
authored
1400 238 Tests
43b4c33 Assaf Arkin Fixed Web site links to not require .html.
authored
1401 3.2 sec to complete
0ddf4ab Assaf Arkin Updated changelog.
authored
1402
1403
342aad8 Assaf Arkin Upgraded to JSDOM 0.1.23.
authored
1404 ### Version 0.8.8 2011-01-04
1405
849d955 Assaf Arkin Fixes to eventloop and using resource queue for evaluating internal
authored
1406 Fixed script execution order: now in document order even when mixing
1407 internal and external scripts.
1408
342aad8 Assaf Arkin Upgraded to JSDOM 0.1.23.
authored
1409 Fixed image submit (José Valim).
1410
f6f7b2b Assaf Arkin Updated changelog.
authored
1411 Ensure checkboxes are properly serialized (José Valim).
1412
1413 It should send first select option if none was chosen (José Valim).
1414
849d955 Assaf Arkin Fixes to eventloop and using resource queue for evaluating internal
authored
1415 231 Tests
1416 3.3 sec to complete
342aad8 Assaf Arkin Upgraded to JSDOM 0.1.23.
authored
1417
1418
ac2607a Assaf Arkin Version bump.
authored
1419 ### Version 0.8.7 2011-01-04
587e537 Assaf Arkin Now supports HTTPS.
authored
1420
d6a9b3c Assaf Arkin Working on DOM Level 3 XPath support.
authored
1421 Adds DOM Level 3 XPath support.
1422
e22f275 Assaf Arkin Added file upload: use browser.attach(selector, filename).
authored
1423 Added support for file upload: `browser.attach(selector, filename)`.
1424
780e72b Assaf Arkin Send script errors to window.onerror and report them back to visit
authored
1425 Send script errors to `window.onerror` and report them back to `visit`
1426 callback.
1427
2e7a1a6 Assaf Arkin Added changelog entries.
authored
1428 Support `select` with multiple options (José Valim).
1429
1430 Fix handling of unknown input fields and select fields (José Valim).
1431
4d1aa6e Assaf Arkin Fix issue 24, search and hash must be empty string not null.
authored
1432 Fix issue 24, search and hash must be empty string not null.
1433
3514641 Assaf Arkin Added changlog entry.
authored
1434 Support Node 0.3.3 (thanks [Pete Bevin](http://www.petebevin.com/))
1435
20f5cc9 Assaf Arkin Now using npm bundle to manage runtime/dev dependencies when working fro...
authored
1436 For the brave enough to hack a Zombie, we now support (and `cake setup`
1437 assumes) `npm bundle`.
1438
1cc9904 Assaf Arkin Added missing mime dependency.
authored
1439 224 Tests
1440 3.1 sec to complete
d6a9b3c Assaf Arkin Working on DOM Level 3 XPath support.
authored
1441
587e537 Assaf Arkin Now supports HTTPS.
authored
1442
1fa8eae Assaf Arkin Handle server returning multiple Set-Cookie headers.
authored
1443 ### Version 0.8.6 2010-12-31
1444
1445 Now supports cookies on redirect (thanks [Łukasz
1446 Piestrzeniewicz](https://github.com/bragi)).
1447
1448 Handle server returning multiple `Set-Cookie` headers.
1449
7270e49 Assaf Arkin The clickLink and pressButton methods should always pass to callback
authored
1450 The `clickLink` and `pressButton` methods should always pass to callback
1451 and not throw error directly.
1452
587e537 Assaf Arkin Now supports HTTPS.
authored
1453 Now supports HTTPS.
1454
1fa8eae Assaf Arkin Handle server returning multiple Set-Cookie headers.
authored
1455 198 Tests
1456 2.6 sec to complete
1457
1458
483bdb1 Assaf Arkin Now using a concise implementation of Ryan Tomayko's most excellent
authored
1459 ### Version 0.8.5 2010-12-31
1460
1461 Re-implemented bcat in JavaScript, so no need to install bcat to use
1462 Zombie.
1463
1464 197 Tests
1465 2.6 sec to complete
1466
1467
0dc2552 Assaf Arkin Added viewInBrowser which uses bcat to view page in your browser of
authored
1468 ### Version 0.8.4 2010-12-30
b80c3e8 Assaf Arkin Added the `field` (find an input field, textarea, etc), `link` (find
authored
1469
0dc2552 Assaf Arkin Added viewInBrowser which uses bcat to view page in your browser of
authored
1470 Added `browser.field` (find an input field, textarea, etc),
1471 `browser.link` (find a link) and `browser.button` (find a button)
1472 methods.
b80c3e8 Assaf Arkin Added the `field` (find an input field, textarea, etc), `link` (find
authored
1473
0dc2552 Assaf Arkin Added viewInBrowser which uses bcat to view page in your browser of
authored
1474 Added `browser.evaluate` to evaluate any arbitrary JavaScript in the
1475 window context and return the result.
1476
1477 Added `browser.viewInBrowser` which uses `bcat` to view page in your
1478 browser of choice.
1479
1480 197 Tests
1481 2.6 sec to complete
b80c3e8 Assaf Arkin Added the `field` (find an input field, textarea, etc), `link` (find
authored
1482
1483
3916a43 Assaf Arkin Fixed issue 13: Zombie now shares global variables between scripts.
authored
1484 ### Version 0.8.3 2010-12-30
1485
1486 Zombie now shares global variables between scripts.
1487
1488 199 Tests
1489 2.4 sec to complete
1490
d47f086 Assaf Arkin Fix JSDOM queue and with it issue #6.
authored
1491
71ad9f8 Assaf Arkin Added magical zombie girl and PDF.
authored
1492 ### Version 0.8.2 2010-12-30
7a0bfdd Assaf Arkin Fixed bug where Zombie hangs when making requests to URL that have
authored
1493
648e3ea Assaf Arkin Version bump.
authored
1494 Fixed bug whereby Zombie hangs when making requests to a URL that has no
7a0bfdd Assaf Arkin Fixed bug where Zombie hangs when making requests to URL that have
authored
1495 path (e.g. `http://localhost`).
1496
1497 198 Tests
1498 2.5 sec to complete
1499
1500
71ad9f8 Assaf Arkin Added magical zombie girl and PDF.
authored
1501 ### Version 0.8.1 2010-12-29
981d8aa Assaf Arkin Added User-Agent string. You can change it by setting the browser
authored
1502
1503 Added User-Agent string. You can change it by setting the browser
1504 option `userAgent`.
1505
1506 There was an error with `browser.location`: documentation said it
1507 returns a `Location` object but also just a URL. Since `Location`
1508 object is more consistent with `window.location`, accepted that
1509 interpretation.
1510
1511 `Location.assign` did not load a page if the page was already loaded
2d291fe Damian Janowski Whitespace.
djanowski authored
1512 in the browser. Changed it to load the page (add caching later on).
981d8aa Assaf Arkin Added User-Agent string. You can change it by setting the browser
authored
1513
1514 196 Tests
1515 2.6 sec to complete
1516
1517
71ad9f8 Assaf Arkin Added magical zombie girl and PDF.
authored
1518 ### Version 0.8.0 2010-12-29
b6c883a Assaf Arkin Fixed wrong location of package.json.
authored
1519
46dd292 Assaf Arkin Added exact version dependencies in package.json and Cakefile.
authored
1520 Fixed issue 8, wrong location of package.json.
b6c883a Assaf Arkin Fixed wrong location of package.json.
authored
1521
18f82b3 Assaf Arkin Version bump.
authored
1522 Upgraded to JSDOM 0.1.22 and using HTML5 parser throughout.
1523
f01e132 Assaf Arkin Added browser.runScript option. Set to false if you don't want the
authored
1524 Added browser.runScript option. Set to false if you don't want the
1525 browser to execute scripts.
1526
be9554b Assaf Arkin You can now set browser options when initializing a new browser, on
authored
1527 You can now set browser options when initializing a new browser, on
1528 existing `Browser` object or for the duration of a request by passing
1529 them as second argument to `visit`.
1530
88d2364 Assaf Arkin Browser now has a property called `debug` that you can set to
authored
1531 Browser now has a property called `debug` that you can set to true/false
1532 (was a function), and separately a method called `log` that logs
1533 messages when debugging is enabled.
1534
d08ff54 Assaf Arkin Added new page covering the browser API.
authored
1535 Added new page covering the browser API.
1536
be9554b Assaf Arkin You can now set browser options when initializing a new browser, on
authored
1537 194 Tests
1538 2.5 sec to complete
18f82b3 Assaf Arkin Version bump.
authored
1539
b6c883a Assaf Arkin Fixed wrong location of package.json.
authored
1540
71ad9f8 Assaf Arkin Added magical zombie girl and PDF.
authored
1541 ### Version 0.7.7 2010-12-28
d47f086 Assaf Arkin Fix JSDOM queue and with it issue #6.
authored
1542
2d291fe Damian Janowski Whitespace.
djanowski authored
1543 Fix JSDOM queue and with it issue #6.
d47f086 Assaf Arkin Fix JSDOM queue and with it issue #6.
authored
1544
1545 189 Tests
1546 2.3 sec to complete
1547
1548
71ad9f8 Assaf Arkin Added magical zombie girl and PDF.
authored
1549 ### Version 0.7.6 2010-12-28
2edf72d Assaf Arkin HTML5 doesn't play nice with JSDOM, bringing back html-parser to
authored
1550
1551 HTML5 doesn't play nice with JSDOM, bringing back html-parser to handle
1552 innerHTML (full document parsing still handled by HTML5).
f4800b4 Assaf Arkin Previous fix for document.write was incomplete, this one works
authored
1553
92ab434 Assaf Arkin Added documentation page for CSS selectors.
authored
1554 Added documentation page for CSS selectors.
2d291fe Damian Janowski Whitespace.
djanowski authored
1555
92ab434 Assaf Arkin Added documentation page for CSS selectors.
authored
1556 Man pages now moved to section 7.
2d291fe Damian Janowski Whitespace.
djanowski authored
1557
92ab434 Assaf Arkin Added documentation page for CSS selectors.
authored
1558 Added zombie.version.
1559
2edf72d Assaf Arkin HTML5 doesn't play nice with JSDOM, bringing back html-parser to
authored
1560 189 Tests
1561 2.3 sec to complete
92ab434 Assaf Arkin Added documentation page for CSS selectors.
authored
1562
1563
71ad9f8 Assaf Arkin Added magical zombie girl and PDF.
authored
1564 ### Version 0.7.5 2010-12-28
92ab434 Assaf Arkin Added documentation page for CSS selectors.
authored
1565
f4800b4 Assaf Arkin Previous fix for document.write was incomplete, this one works
authored
1566 Previous fix for document.write was incomplete, this one works better.
1567
1568 189 Tests
1569 2.5 sec to complete
1570
1571
71ad9f8 Assaf Arkin Added magical zombie girl and PDF.
authored
1572 ### Version 0.7.4 2010-12-28
778e0d8 Assaf Arkin Now parsing documents using HTML5, which can deal better with tag soup
authored
1573
1574 Now parsing documents using HTML5, which can deal better with tag soup.
e3f5743 Assaf Arkin Fixed naming issue: browser.last_request is now lastRequest, same for la...
authored
1575
901d806 Assaf Arkin Added support for scripts that use document.write.
authored
1576 Added support for scripts that use document.write.
1577
8f851ca Assaf Arkin Added troublehsooting guide.
authored
1578 Added troublehsooting guide.
1579
e3f5743 Assaf Arkin Fixed naming issue: browser.last_request is now lastRequest, same for la...
authored
1580 Fixed naming issue: browser.last_request is now lastRequest, same for
1581 lastResponse and lastError.
1582
778e0d8 Assaf Arkin Now parsing documents using HTML5, which can deal better with tag soup
authored
1583 189 Tests
901d806 Assaf Arkin Added support for scripts that use document.write.
authored
1584 2.5 sec to complete
778e0d8 Assaf Arkin Now parsing documents using HTML5, which can deal better with tag soup
authored
1585
e3f5743 Assaf Arkin Fixed naming issue: browser.last_request is now lastRequest, same for la...
authored
1586
71ad9f8 Assaf Arkin Added magical zombie girl and PDF.
authored
1587 ### Version 0.7.3 2010-12-27
26c7106 Assaf Arkin Fixed non-sensical error message when selector fails matching a node (`f...
authored
1588
1589 Fixed non-sensical error message when selector fails matching a node
1590 (`fill`, `check`, `select`, etc).
1591
3101e7d Assaf Arkin Added debugging to help you figure out what's happening when tests run:
authored
1592 Added debugging to help you figure out what's happening when tests run:
1593 - Call `browser.debug` with a boolean to turn debugging on/off.
1594 - Call `browser.debug` with a boolean and function to turn debugging
1595 on/off only while calling that function.
1596 - Call `browser.debug` with multiple arguments to print them (same as
1597 `console.log`).
1598 - Call `browser.debug` with a function to print the result of that
1599 function call.
1600
2d15917 Assaf Arkin Added an all revealing browser.dump: history, cookies, storage, document...
authored
1601 Added an all revealing browser.dump: history, cookies, storage,
1602 document, etc. Simply call:
1603 browser.dump
1604
b91e7a8 Assaf Arkin Testing that Zombie.js can handle jQuery live form submit event. Yes it...
authored
1605 Testing that Zombie.js can handle jQuery live form submit event. Yes it
1606 can!
1607
1608 185 Tests
1609 1.8 sec to complete
1610
26c7106 Assaf Arkin Fixed non-sensical error message when selector fails matching a node (`f...
authored
1611
71ad9f8 Assaf Arkin Added magical zombie girl and PDF.
authored
1612 ### Version 0.7.2 2010-12-27
b3c536d Assaf Arkin Fixed an issue with history/location; window.location now returns
authored
1613
1614 In CoffeeScript 1.0 loops no longer try preserve block scope when
1615 functions are being generated within the loop body. Unfortunately, this
1616 broke a bunch of stuff when running Zombie from CoffeeScript source. It
1617 had effect when running the compiled JavaScript.
1618
1619 Changed: window.location now returns the same Location object until you
1620 navigate to a different page.
1621
1622 183 Tests
1623 1.8 sec to complete
1624
1625
71ad9f8 Assaf Arkin Added magical zombie girl and PDF.
authored
1626 ### Version 0.7.1 2010-12-22
39a12a8 Assaf Arkin Removed CoffeeScript from runtime dependencies.
authored
1627
1628 Removed CoffeeScript from runtime dependency list.
1629
1630
71ad9f8 Assaf Arkin Added magical zombie girl and PDF.
authored
1631 ### Version 0.7.0 2010-12-22
2e14582 Assaf Arkin Added `querySelector` and `querySelectorAll` based on the [DOM
authored
1632
1633 Added `querySelector` and `querySelectorAll` based on the [DOM Selector
1634 API](http://www.w3.org/TR/selectors-api/). Use this instead of `find`
1635 method.
1636
8473a74 Assaf Arkin Browser is now an EventEmitter, you can listen to drain (event queue
authored
1637 Browser is now an EventEmitter, you can listen to drain (event queue
1638 empty), error (loading page) and loaded (what is says).
1639
2d55b46 Assaf Arkin You can now use `pressButton` with inputs of type button and reset
authored
1640 You can now use `pressButton` with inputs of type button and reset
1641 (previously just submit).
1642
5234ecf Assaf Arkin Added documentation for using CSS selectors.
authored
1643 More, better, documentation.
1644
2d55b46 Assaf Arkin You can now use `pressButton` with inputs of type button and reset
authored
1645 187 tests
2e14582 Assaf Arkin Added `querySelector` and `querySelectorAll` based on the [DOM
authored
1646 2.0 sec to complete
1647
1648
71ad9f8 Assaf Arkin Added magical zombie girl and PDF.
authored
1649 ### Version 0.6.5 2010-12-21
e05c3f6 Assaf Arkin Fixed lack of JavaScript source code: CoffeeScript moved to src,
authored
1650
1651 Fixed lack of JavaScript source code: CoffeeScript moved to src,
1652 JavaScript compiled into lib, life is grand again.
1653
1654 Changelog is now Markdown file and part of the documentation.
1655
1656
71ad9f8 Assaf Arkin Added magical zombie girl and PDF.
authored
1657 ### Version 0.6.4 2010-12-21
e05c3f6 Assaf Arkin Fixed lack of JavaScript source code: CoffeeScript moved to src,
authored
1658
1659 First documentation you can actually use.
1660
1661
71ad9f8 Assaf Arkin Added magical zombie girl and PDF.
authored
1662 ### Version 0.6.3 2010-12-21
e05c3f6 Assaf Arkin Fixed lack of JavaScript source code: CoffeeScript moved to src,
authored
1663
1664 Fixed documentation link.
1665
1666 `man zombie`
1667
1668
71ad9f8 Assaf Arkin Added magical zombie girl and PDF.
authored
1669 ### Version 0.6.2 2010-12-21
e05c3f6 Assaf Arkin Fixed lack of JavaScript source code: CoffeeScript moved to src,
authored
1670
1671 First NPM release.
1672
1673 Started working on documentation site.
1674
1675 Added cake setup to get you up and running with development dependencies.
1676
1677 Remove Vows as runtime dependency. Use whichever framework you like. Moved
1678 sizzle.js from dep to vendor. Moved scripts used during tests to
1679 spec/.scripts.
1680
1681 178 tests
1682 1.8 sec to complete
1683
1684
71ad9f8 Assaf Arkin Added magical zombie girl and PDF.
authored
1685 ### Version 0.6.1 2010-12-20
e05c3f6 Assaf Arkin Fixed lack of JavaScript source code: CoffeeScript moved to src,
authored
1686
1687 Changed browser.cookies from getter to function that accepts cookie domain
1688 (host and port) and path, and returns wrapper to access specific cookie
1689 context.
1690
1691 Fixed: browser now creates new window for each new document.
1692
1693 Added window.JSON.
1694
2e14582 Assaf Arkin Added `querySelector` and `querySelectorAll` based on the [DOM
authored
1695 178 tests
1696 1.8 sec to complete
e05c3f6 Assaf Arkin Fixed lack of JavaScript source code: CoffeeScript moved to src,
authored
1697
1698
71ad9f8 Assaf Arkin Added magical zombie girl and PDF.
authored
1699 ### Version 0.6.0 2010-12-20
e05c3f6 Assaf Arkin Fixed lack of JavaScript source code: CoffeeScript moved to src,
authored
1700
1701 First release that I could use to test an existing project.
1702
1703 Supports for navigation, filling and submitting forms, and selecting document
1704 content using Sizzle. Browser features include evaluating JavaScript (jQuery,
1705 Sammy.js), timers, XHR, cookies, local and session storage.
1706
1707 Still very rough around the edges.
1708
2e14582 Assaf Arkin Added `querySelector` and `querySelectorAll` based on the [DOM
authored
1709 175 tests
1710 1.8 sec to complete
Something went wrong with that request. Please try again.