Sha256: e2bde2a882d8820f1878ca6b9f01a94a65e96848c67c963b4d73cb8662486d6b
Contents?: true
Size: 1.02 KB
Versions: 6
Compression:
Stored size: 1.02 KB
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 # waiting on a Frame should carry on upwards to the browser - the sorts of operations that we wait after # (clicking a link or whatever) tend to affect other frames too; waiting on just this frame doesn't # make sense. def wait(options={}) # :nodoc: if browser # prefer to wait on the browser browser.wait(options) elsif container # if we don't have the browser, wait on the container (presumably this exists) container.wait(options) else # but if we don't have a container either, just call to PageContainer#wait (by this alias) page_container_wait(options) end end def content_window_object element_object.contentWindow end def document_object content_window_object.document end alias document document_object end end
Version data entries
6 entries across 6 versions & 1 rubygems