n1k0/casperjs — Issue #16: more coffee-script friendly syntax
Author: naltatis
Created: 2011-11-25 14:43:22+00:00
State: open

Is it possible to set the `this`-context of the then-functions to the value of the `self` parameter? This way it would be possible to use coffeescripts `@` shortcut for `this.` and the test code would be more compact:

```coffeescript
casper.start "http://google.com/", () ->
@fill "form[name=f]", q: "casperjs"
@click "input[type=submit]"
@then -> @test.pass "done"
```

\ naltatis