Sha256: 34ff474975e895422065670e7f601c08aada8d2ad26c4465d64bccb5924e4d04

Contents?: true

Size: 611 Bytes

Versions: 2

Compression:

Stored size: 611 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 = true
  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

2 entries across 2 versions & 1 rubygems

Version Path
watir-classic-3.7.0 spec/implementation.rb
watir-classic-3.6.0 spec/implementation.rb