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
aslakhellesoy-cucumber-0.1.100.1 examples/watir/features/support/env.rb
aslakhellesoy-cucumber-0.1.100.2 examples/watir/features/support/env.rb
aslakhellesoy-cucumber-0.1.100.3 examples/watir/features/support/env.rb
aslakhellesoy-cucumber-0.1.100.4 examples/watir/features/support/env.rb
aslakhellesoy-cucumber-0.1.100.5 examples/watir/features/support/env.rb
aslakhellesoy-cucumber-0.1.14.1 examples/watir/features/support/env.rb
aslakhellesoy-cucumber-0.1.14.2 examples/watir/features/support/env.rb
aslakhellesoy-cucumber-0.1.15 examples/watir/features/support/env.rb
aslakhellesoy-cucumber-0.1.16.1 examples/watir/features/support/env.rb
aslakhellesoy-cucumber-0.1.16.2 examples/watir/features/support/env.rb
aslakhellesoy-cucumber-0.1.16.3 examples/watir/features/support/env.rb
aslakhellesoy-cucumber-0.1.16.4 examples/watir/features/support/env.rb
aslakhellesoy-cucumber-0.1.16.5 examples/watir/features/support/env.rb
aslakhellesoy-cucumber-0.1.16 examples/watir/features/support/env.rb
aslakhellesoy-cucumber-0.1.99.1 examples/watir/features/support/env.rb
aslakhellesoy-cucumber-0.1.99.10 examples/watir/features/support/env.rb
aslakhellesoy-cucumber-0.1.99.11 examples/watir/features/support/env.rb
aslakhellesoy-cucumber-0.1.99.12 examples/watir/features/support/env.rb
aslakhellesoy-cucumber-0.1.99.13 examples/watir/features/support/env.rb
aslakhellesoy-cucumber-0.1.99.14 examples/watir/features/support/env.rb