assaf/zombie — pull request #216 by jeromegn (2011-12-04 19:29:35+00:00)
Title: Added JS <script> injection to the browser

Mainly since I needed it to test that my bookmarklet would actually load.

- I created tests to make sure it works as intended.
- I added a single method to the Browser class, documented it.

Allows you to do something like:

```coffeescript
browser.inject "http://localhost:3001/some_js.js", (err, browser)->
# Callback is called as soon as the script tag fires the `load` event
# An error is passed if the script tag fires an `error` event or
# if the script appending fails
```