download.coffee 217 Bytes
# download the google logo image as base64

casper = require('casper').create verbose: true

casper.start 'http://www.google.fr/', ->
    @echo @base64encode 'http://www.google.fr/images/srpr/logo3w.png'

casper.run()