lib/testable/page.rb
# The `visit` method provides navigation to a specific page by passing
# in the URL. If no URL is passed in, this method will attempt to use
# the `url_is` attribute from the interface it is being called on.
The `visit` method provides navigation to a specific page by passing
in the URL. If no URL is passed in, this method will attempt to use
the `url_is` attribute from the interface it is being called on.
The ` visit ` method provides navigation to a specific page by passing in the URL . If no URL is passed in this method will attempt to use the ` url_is ` attribute from the interface it is being called on .
def visit(url = nil, &block)
      no_url_provided if url.nil? && url_attribute.nil?
      @browser.goto(url) unless url.nil?
      @browser.goto(url_attribute) if url.nil?
      when_ready(&block) if block_given?
      self
    end
def visit ( url = nil , & block ) no_url_provided if url . nil? && url_attribute . nil? @browser . goto ( url ) unless url . nil? @browser . goto ( url_attribute ) if url . nil? when_ready ( & block ) if block_given? self end
The `visit` method provides navigation to a specific page by passing
in the URL.
The ` visit ` method provides navigation to a specific page by passing in the URL .
url
<not_specific>
block
<not_specific>