Sha256: 35be502c1b94d8ea3957e8b2bcf8651d6d8708ff25397702daae99e15bb9865e

Contents?: true

Size: 296 Bytes

Versions: 2

Compression:

Stored size: 296 Bytes

Contents

require "watir/dom/wait"

RSpec.configure do |spec|
  spec.before(:all) do
    @browser = Watir::Browser.new
    @browser.goto "data:text/html,#{File.read('spec/html/wait_for_dom.html')}"
  end

  spec.after(:all) do
    @browser.quit
  end

  spec.after(:each) do
    @browser.refresh
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
watir-dom-wait-0.1.1 spec/spec_helper.rb
watir-dom-wait-0.1.0 spec/spec_helper.rb