Sha256: 413ce5e161c31cef216a5c3e1b8ca9484711989f24971328191f8ed42b71bd30

Contents?: true

Size: 432 Bytes

Versions: 35

Compression:

Stored size: 432 Bytes

Contents

# setup/browser
require 'watir/browser'
case Watir.options[:browser]
when 'ie'
  $LOAD_PATH.unshift File.expand_path($watir_dev_lib)
when 'firefox'
  $LOAD_PATH.unshift File.expand_path($firewatir_dev_lib)
end
$browser = Watir::Browser.new

# close browser at completion of the tests
# the at_exit execute before loading test/unit, otherwise IE will close *before* the tests run.
at_exit {$browser.close if $browser}

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
commonwatir-3.0.0.rc3 unittests/setup/browser.rb
commonwatir-3.0.0.rc2 unittests/setup/browser.rb
commonwatir-3.0.0.rc1 unittests/setup/browser.rb
commonwatir-2.0.4 unittests/setup/browser.rb
commonwatir-2.0.3 unittests/setup/browser.rb
commonwatir-2.0.2 unittests/setup/browser.rb
commonwatir-2.0.2.rc1 unittests/setup/browser.rb
commonwatir-2.0.1 unittests/setup/browser.rb
commonwatir-2.0.0 unittests/setup/browser.rb
commonwatir-2.0.0.rc3 unittests/setup/browser.rb
commonwatir-2.0.0.rc2 unittests/setup/browser.rb
commonwatir-1.9.2 unittests/setup/browser.rb
commonwatir-1.9.2.rc1 unittests/setup/browser.rb
commonwatir-1.9.1 unittests/setup/browser.rb
commonwatir-1.9.1.rc1 unittests/setup/browser.rb
commonwatir-1.9.0 unittests/setup/browser.rb
commonwatir-1.9.0.rc7 unittests/setup/browser.rb
commonwatir-1.9.0.rc6 unittests/setup/browser.rb
commonwatir-1.9.0.rc5 unittests/setup/browser.rb
commonwatir-1.9.0.rc4 unittests/setup/browser.rb