Sha256: 6bce3b6b2f639017b8bc8ed7f9700a8d86ae7b1d553ca505e49d49397c0b67de

Contents?: true

Size: 353 Bytes

Versions: 2

Compression:

Stored size: 353 Bytes

Contents

module Watir
  class IFrame < HTMLElement
    #
    # Uses Nokogiri to return the text of iframe body.
    #
    # @return [String]
    #

    def text!
      body.text!
    end
  end

  class FramedDriver
    private

    alias watir_switch! switch!
    def switch!
      @browser.doc = nil
      watir_switch!
    end
  end # FramedDriver
end # Watir

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
watigiri-0.6.0 lib/extensions/watir/iframe.rb
watigiri-0.5.0 lib/extensions/watir/iframe.rb