Module: Webrat::Culerity::Methods

Defined in:
lib/webrat/culerity.rb

Instance Method Summary collapse

Instance Method Details

#clear_cookiesObject



51
52
53
# File 'lib/webrat/culerity.rb', line 51

def clear_cookies
  webrat_session.clear_cookies
end

#execute_script(source) ⇒ Object



47
48
49
# File 'lib/webrat/culerity.rb', line 47

def execute_script(source)
  webrat_session.execute_script(source)
end

#responseObject



43
44
45
# File 'lib/webrat/culerity.rb', line 43

def response
  webrat_session.response
end

#within_frame(name, &block) ⇒ Object



55
56
57
# File 'lib/webrat/culerity.rb', line 55

def within_frame(name, &block)
  webrat_session.within_frame(name, &block)
end