Sha256: b69dd6a03d6065fcab88e37e8cec9f2768197a2d40748433bf85f6b809445af7

Contents?: true

Size: 589 Bytes

Versions: 12

Compression:

Stored size: 589 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
    
    def nested_elements
      "#{files}/nested_elements.html"
    end
    
    def modal
      "#{files}/modal.html"
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
page-object-0.5.3 features/support/url_helper.rb
page-object-0.5.2 features/support/url_helper.rb
page-object-0.5.1 features/support/url_helper.rb
page-object-0.5.0 features/support/url_helper.rb
page-object-0.4.4 features/support/url_helper.rb
page-object-0.4.3 features/support/url_helper.rb
page-object-0.4.2 features/support/url_helper.rb
page-object-0.4.1 features/support/url_helper.rb
page-object-0.4.0 features/support/url_helper.rb
page-object-0.3.2 features/support/url_helper.rb
page-object-0.3.1 features/support/url_helper.rb
page-object-0.3.0 features/support/url_helper.rb