terminate = function() {
    this.echo("that's all, folks.").exit();
}
Capture multiple pages of google search results

Usage: $ casperjs googlepagination.coffee my search terms

(all arguments will be used as the query)