Class Webrat::Session
In: lib/webrat/core/session.rb
Parent: Object

Methods

Included Modules

Logging SaveAndOpenPage

Attributes

adapter  [RW] 
current_url  [R] 
elements  [R] 

Public Class methods

Public Instance methods

Works like click_link, but only looks for the link text within a given selector

Example:

  click_link_within "#user_12", "Vote"

easy helper to pull out where we were redirected to

Reloads the last page requested. Note that this will resubmit forms and their data.

Issues a GET request for a page, follows any redirects, and verifies the final page load was successful.

Example:

  visit "/"

[Validate]