Sha256: ac4c757ef866fcd6794118d7d59dff0ab714e94f27525bf60b3297f88346cb27

Contents?: true

Size: 338 Bytes

Versions: 2

Compression:

Stored size: 338 Bytes

Contents

module OperaWatir
  module Compat
    module Browser

      def method_missing(method, *args, &blk)
        if active_window.respond_to? method
          active_window.send(method, *args, &blk)
        else
          super
        end
      end

      # Quits the browser
      def quit
        browser.quit!
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
operawatir-0.3.2-jruby lib/operawatir/compat/browser.rb
operawatir-0.3-jruby lib/operawatir/compat/browser.rb