Sha256: bc97456332fd4a299450bbeadc4e085752faef8377c915fe48d99ab2464c890f

Contents?: true

Size: 700 Bytes

Versions: 10

Compression:

Stored size: 700 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

    def async
      "#{files}/async.html"
    end

    def multi
      "#{files}/multi_elements.html"
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
page-object-0.6.9 features/support/url_helper.rb
page-object-0.6.8 features/support/url_helper.rb
page-object-0.6.7 features/support/url_helper.rb
page-object-0.6.6 features/support/url_helper.rb
page-object-0.6.5 features/support/url_helper.rb
page-object-0.6.4 features/support/url_helper.rb
page-object-0.6.3 features/support/url_helper.rb
page-object-0.6.2 features/support/url_helper.rb
page-object-0.6.1 features/support/url_helper.rb
page-object-0.6 features/support/url_helper.rb