Sha256: 4ee611cc78885e0364d12400e8266347a61cbfa07eeb631e3bdc0c8fdfbd1751

Contents?: true

Size: 374 Bytes

Versions: 2

Compression:

Stored size: 374 Bytes

Contents

module DCA
  module Net
    module BrowserHelper
      #def included(base)
      #  base.extend ClassMethods
      #end

      #module ClassMethods
      #end

      def browser(name = :ff, profile = 'default')
        @browser ||= Watir::Browser.new name, :profile => profile
      end

      def browser_close
        @browser.close if @browser
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dca-0.1.1 lib/dca/net/browser_helper.rb
dca-0.1.0 lib/dca/net/browser_helper.rb