Module: Cello::PageObjects::IframeHelper

Included in:
ElementHelper
Defined in:
lib/cello/pageobjects/html_elements/iframe_helper.rb

Instance Method Summary collapse

Instance Method Details

#iframe(name, elements, *args) ⇒ Object



9
10
11
12
13
14
15
16
17
# File 'lib/cello/pageobjects/html_elements/iframe_helper.rb', line 9

def iframe name, elements, *args
  class_eval do
    include elements
    define_method name do
      engine.browser.iframe(*args)
    end
  end

end