exposed the mechanize page
This commit is contained in:
parent
40c6b6ed44
commit
5623643b53
|
@ -6,6 +6,10 @@ module Webrat
|
||||||
@mechanize = mechanize
|
@mechanize = mechanize
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def page
|
||||||
|
@mechanize_page
|
||||||
|
end
|
||||||
|
|
||||||
def get(url, data, headers_argument_not_used = nil)
|
def get(url, data, headers_argument_not_used = nil)
|
||||||
@mechanize_page = @mechanize.get(url, data)
|
@mechanize_page = @mechanize.get(url, data)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue