Sha256: 2880ac4dcea8a7f34f0a5304371318cf913770ed44694646402f84f81b6da628

Contents?: true

Size: 442 Bytes

Versions: 1

Compression:

Stored size: 442 Bytes

Contents

require "zip/zip"

class Joe < Thor
  desc "download", "download the Selenium jar file from Google Code repository"
  def download
    url = "http://selenium-release.storage.googleapis.com/2.53/selenium-server-standalone-2.53.0.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-latest-2.53.0 Thorfile