Sha256: 74aa6ea913f8aac1eb70871951b0e94f36eef1979118ed482af41579987bbee8

Contents?: true

Size: 398 Bytes

Versions: 6

Compression:

Stored size: 398 Bytes

Contents

require File.expand_path("../spec_helper", __FILE__)

WatirSpec.implementation do |imp|
  name    = :webdriver
  browser = (ENV['WATIR_WEBDRIVER_BROWSER'] || :firefox).to_sym

  imp.name          = name
  imp.browser_class = Watir::Browser
  imp.browser_args  = [browser]

  imp.guard_proc = lambda { |args|
    args.any? { |arg| arg == name || arg == browser || arg == [name, browser]}
  }
end



Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
watir-webdriver-0.3.8 spec/implementation.rb
watir-webdriver-0.3.7 spec/implementation.rb
watir-webdriver-0.3.6 spec/implementation.rb
watir-webdriver-0.3.5 spec/implementation.rb
watir-webdriver-0.3.4 spec/implementation.rb
watir-webdriver-0.3.3 spec/implementation.rb