Sha256: b4876f2e2d0f05102ebc307c715f3386cf4c4d73a98ed741a95acaa609c8437e
Contents?: true
Size: 526 Bytes
Versions: 203
Compression:
Stored size: 526 Bytes
Contents
require 'spec/expectations' if ENV['FIREWATIR'] require 'firewatir' Browser = FireWatir::Firefox else case RUBY_PLATFORM when /darwin/ require 'safariwatir' Browser = Watir::Safari when /win32|mingw/ require 'watir' Browser = Watir::IE when /java/ require 'celerity' Browser = Celerity::Browser else raise "This platform is not supported (#{PLATFORM})" end end # "before all" browser = Browser.new Before do @browser = browser end # "after all" at_exit do browser.close end
Version data entries
203 entries across 203 versions & 16 rubygems
Version | Path |
---|---|
cucumber-0.3.8 | examples/watir/features/support/env.rb |
cucumber-0.3.9 | examples/watir/features/support/env.rb |
cucumber-0.3.7 | examples/watir/features/support/env.rb |