Sha256: 2f8b79b5fb9a5f00b20d4d9903d9aebb43dbc179c27c5ddd87c91945951a18c5

Contents?: true

Size: 522 Bytes

Versions: 1

Compression:

Stored size: 522 Bytes

Contents

require 'vapir-ie/element'
require 'vapir-common/elements/elements'
require 'vapir-ie/page_container'

module Vapir
  class IE::Frame < IE::Element
    include Frame
    include IE::PageContainer
    
    def content_window_object
      element_object.contentWindow
    end
    
    def document_object
      content_window_object.document
    end
    alias document document_object

    def attach_command
      @container.page_container.attach_command + ".frame(#{@how.inspect}, #{@what.inspect})"
    end
    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vapir-ie-1.7.0.rc1 lib/vapir-ie/frame.rb