exposed the mechanize page

This commit is contained in:
Jeremy Burks 2008-11-03 20:44:33 -06:00
parent 40c6b6ed44
commit 5623643b53
1 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,10 @@ module Webrat
@mechanize = mechanize
end
def page
@mechanize_page
end
def get(url, data, headers_argument_not_used = nil)
@mechanize_page = @mechanize.get(url, data)
end