Sha256: 14e15afa64620c2768b36482b5e87f7dbd79f369f609b8d10b9c5f07798d7af8

Contents?: true

Size: 459 Bytes

Versions: 4

Compression:

Stored size: 459 Bytes

Contents

module UrlHelper
  class << self
    def html
      File.expand_path("#{File.dirname(__FILE__)}/../html")
    end

    def files
      "file://#{html}"
    end


    def static_elements
      "#{files}/static_elements.html"
    end
    
    def frame_elements
      "#{files}/frames.html"      
    end
    
    def iframe_elements
      "#{files}/iframes.html"
    end
    
    def nested_frame_elements
      "#{files}/nested_frames.html"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
page-object-0.2.5 features/support/url_helper.rb
page-object-0.2.4 features/support/url_helper.rb
page-object-0.2.3 features/support/url_helper.rb
page-object-0.2.2 features/support/url_helper.rb