Created
September 15, 2013 23:54
-
-
Save jakobmattsson/6575348 to your computer and use it in GitHub Desktop.
getSelenium.coffee
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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