Sha256: c6f7761254364f79c12991fe3045eba63c070a16c6c2005aa67d6d4afb646422
Contents?: true
Size: 427 Bytes
Versions: 1
Compression:
Stored size: 427 Bytes
Contents
require "zip/zip" class Joe < Thor desc "download", "download the Selenium jar file from Google Code repository" def download url = "http://selenium.googlecode.com/files/selenium-server-standalone-2.0rc3.jar" file = File.join("tmp", File.basename(url)) FileUtils.mkdir_p("tmp") system "wget #{url} -O #{file}" unless File.exist?(file) FileUtils.mv("#{file}", "vendor/selenium-server.jar") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
selenium-rc-2.4.0 | Thorfile |