Sha256: b6fcd2b21241a7c28fbbfcbf59d9c2ab3af2eb01cdea1860849e5c852c583cbf
Contents?: true
Size: 942 Bytes
Versions: 4
Compression:
Stored size: 942 Bytes
Contents
# encoding: utf-8 $LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) if ENV['coverage'] raise "simplecov only works on Ruby 1.9" unless RUBY_VERSION =~ /^1\.9/ require 'simplecov' SimpleCov.start { add_filter "spec/" } end require 'watir-webdriver' require 'locator_spec_helper' require 'rubygems' require 'rspec' include Watir include Watir::Exception if ENV['ALWAYS_LOCATE'] == "false" Watir.always_locate = false end WEBDRIVER_SELECTORS = [:class, :class_name, :css, :id, :name, :tag_name, :xpath] if ENV['TRAVIS'] ENV['DISPLAY'] = ":99.0" if ENV['WATIR_WEBDRIVER_BROWSER'] == "chrome" ENV['WATIR_WEBDRIVER_CHROME_BINARY'] = File.expand_path "chrome-linux/chrome" ENV['WATIR_WEBDRIVER_CHROME_DRIVER'] = File.expand_path "chrome-linux/chromedriver" end end if Selenium::WebDriver::Platform.linux? && ENV['DISPLAY'].nil? raise "DISPLAY not set" end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
watir-webdriver-0.5.3 | spec/spec_helper.rb |
watir-webdriver-0.5.2 | spec/spec_helper.rb |
watir-webdriver-0.5.1 | spec/spec_helper.rb |
watir-webdriver-0.5.0 | spec/spec_helper.rb |