Sha256: deedbe7a26089c1be35da1bcefba04c30454ee0a133f71968ae9686a91111c51

Contents?: true

Size: 445 Bytes

Versions: 1

Compression:

Stored size: 445 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '../../', 'lib'))

require 'iemodal'
require 'rspec/expectations'
require 'watir-webdriver'
require 'selenium-webdriver'
require 'page-object'
require 'page-object/page_factory'

World(PageObject::PageFactory)


Before do
  @browser = Watir::Browser.new :ie if ENV['DRIVER'] == 'WATIR'
  @browser = Selenium::WebDriver.for :ie if ENV['DRIVER'] == 'SELENIUM'
end

After do
  @browser.close
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
iemodal-0.0.4 features/support/env.rb