Sha256: aafc28e82a879b2fb6d6b612b30bdb32df5e9932f6683769141ec7a215fc666b

Contents?: true

Size: 578 Bytes

Versions: 5

Compression:

Stored size: 578 Bytes

Contents

$LOAD_PATH.unshift File.expand_path("/../lib", File.dirname(__FILE__))
require "watir-classic"

WatirSpec.implementation do |imp|
  imp.name = :watir_classic

  WatirSpec.persistent_browser = false
  imp.browser_class = Watir::IE
  browser = :ie
  browser_version = "ie#{imp.browser_class.version.to_i}".to_sym

  imp.guard_proc = lambda { |args|
    args.any? {|arg| arg == :watir_classic || arg == [:watir_classic, browser] || arg == :ie || arg == browser_version || arg == [:watir_classic, browser_version] }
  }
end

include Watir
include Watir::Exception

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
watir-classic-3.4.0 spec/implementation.rb
watir-classic-3.3.0 spec/implementation.rb
watir-classic-3.2.0 spec/implementation.rb
watir-classic-3.2.0.rc1 spec/implementation.rb
watir-classic-3.1.0 spec/implementation.rb