Sha256: ccee02e27c00abc29eee8f6c9d62466443b0c8b94eebf5365338680a81091e41

Contents?: true

Size: 612 Bytes

Versions: 1

Compression:

Stored size: 612 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 = :internet_explorer
  browser_version = "#{browser}#{imp.browser_class.version.to_i}".to_sym

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

include Watir
include Watir::Exception

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
watir-classic-3.5.0 spec/implementation.rb