Skip to content

Instantly share code, notes, and snippets.

@jakobmattsson
Created September 15, 2013 23:54
Show Gist options
  • Save jakobmattsson/6575348 to your computer and use it in GitHub Desktop.
Save jakobmattsson/6575348 to your computer and use it in GitHub Desktop.
getSelenium.coffee
getfile = require '../lib/getfile'
getfile.get
url: 'http://selenium.googlecode.com/files/selenium-server-standalone-2.31.0.jar'
dir: '../.selenium'
onDownload: (callback) ->
console.log "Installing selenium...."
callback()
, (err, filepath) ->
return console.log(err) if err?
console.log("Selenium downloaded!")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment