Sha256: 1d7e73c983c57b42329d10ac0118ff62626847bb9a900effd0198807232192aa
Contents?: true
Size: 761 Bytes
Versions: 2
Compression:
Stored size: 761 Bytes
Contents
# encoding: utf-8 $LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'rubygems' require 'watir-webdriver' require 'locator_spec_helper' require 'spec' require 'spec/autorun' include Watir include Watir::Exception WEBDRIVER_SELECTORS = [:class, :class_name, :css, :id, :name, :tag_name, :xpath] if defined?(WatirSpec) browser = (ENV['WATIR_WEBDRIVER_BROWSER'] || :firefox).to_sym WatirSpec.implementation do |imp| imp.name = :webdriver imp.browser_class = Watir::Browser imp.browser_args = [browser] imp.guard_proc = lambda { |args| args.any? { |arg| arg == :webdriver || arg == [:webdriver, browser] } } end # WatirSpec.unguarded = true end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
watir-webdriver-0.1.1 | spec/spec_helper.rb |
watir-webdriver-0.1.0 | spec/spec_helper.rb |