Sha256: f6771ad15f68f8516c3739152d5d3f26deee7d4739dd6e58937d8322c6e5c536

Contents?: true

Size: 341 Bytes

Versions: 2

Compression:

Stored size: 341 Bytes

Contents

module Watir

  class Browser
    include WatirAngular

    # TODO - reimplement with Watir Executor when available

    alias_method :watir_initialize, :initialize

    def initialize(*args)
      watir_initialize(*args)
      proc = ->(browser) { browser.wait_for_angular }
      @after_hooks.add(proc)
    end
  end # Browser
end # Watir

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
watir_angular-0.2.0 lib/extensions/watir/browser.rb
watir_angular-0.1.0 lib/extensions/watir/browser.rb