Sha256: 88d197db362b0c24c63affb840c9a6445ff05955e7239c3cf2ab5a28ec4a62e3

Contents?: true

Size: 373 Bytes

Versions: 8

Compression:

Stored size: 373 Bytes

Contents

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

require 'symbiont'

module Symbiont
  module Browser
    
    def self.start
      unless @browser
        @browser = Watir::Browser.new(ENV['BROWSER'])
      end
      @browser
    end
    
    def self.stop
      @browser.quit if @browser
    end
    
  end # module: Browser
end # module: Symbiont

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
symbiont-0.1.7 specs/support/env.rb
symbiont-0.1.6 specs/support/env.rb
symbiont-0.1.5 specs/support/env.rb
symbiont-0.1.4 specs/support/env.rb
symbiont-0.1.3 specs/support/env.rb
symbiont-0.1.2 specs/support/env.rb
symbiont-0.1.1 specs/support/env.rb
symbiont-0.1.0 specs/support/env.rb