Sha256: 91d7d63585d5d6636d34cbd6ce97edc20f3698e55e0841ae9da7c21724a2b37e

Contents?: true

Size: 879 Bytes

Versions: 3

Compression:

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

    def indexed
      "#{files}/indexed_property.html"
    end

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
page-object-0.8.1 features/support/url_helper.rb
page-object-0.8 features/support/url_helper.rb
page-object-0.7.6 features/support/url_helper.rb