Sha256: c6040101aa8c71d28086b0249f74ec06b6a06e50b6da45fed8ee38e1d2449ddc

Contents?: true

Size: 357 Bytes

Versions: 11

Compression:

Stored size: 357 Bytes

Contents

Dir[File.dirname(__FILE__) + "/*.rb"].each do |file| 
  require file 
end

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

      end

    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
cello-0.0.35 lib/cello/pageobjects/html_elements/iframe_helper.rb
cello-0.0.34 lib/cello/pageobjects/html_elements/iframe_helper.rb
cello-0.0.33 lib/cello/pageobjects/html_elements/iframe_helper.rb
cello-0.0.32 lib/cello/pageobjects/html_elements/iframe_helper.rb
cello-0.0.31 lib/cello/pageobjects/html_elements/iframe_helper.rb
cello-0.0.30 lib/cello/pageobjects/html_elements/iframe_helper.rb
cello-0.0.29 lib/cello/pageobjects/html_elements/iframe_helper.rb
cello-0.0.28 lib/cello/pageobjects/html_elements/iframe_helper.rb
cello-0.0.27 lib/cello/pageobjects/html_elements/iframe_helper.rb
cello-0.0.26 lib/cello/pageobjects/html_elements/iframe_helper.rb
cello-0.0.25 lib/cello/pageobjects/html_elements/iframe_helper.rb