Sha256: e16318b94364f2addb5a29070ffd2ec605c24a68b7770023eb299cc3cbdb9a6f
Contents?: true
Size: 721 Bytes
Versions: 8
Compression:
Stored size: 721 Bytes
Contents
require 'sauce' module SeleniumConnect class Runner class Saucelabs attr_reader :config def initialize(config) @config = config end def launch init_browser end private def get_credentials ENV['SAUCE_USERNAME'] = config.sauce_username ENV['SAUCE_ACCESS_KEY'] = config.sauce_api_key end def init_browser get_credentials Sauce::Selenium2.new({ :os => config.os, :browser => config.browser, :browser_version => config.browser_version, :job_name => config.description }) end end #Saucelabs end #Runner end #SeleniumConnect
Version data entries
8 entries across 8 versions & 1 rubygems