[rspec-devel] [ rspec-Patches-8113 ] Better Watir exception for bad URLs

noreply at rubyforge.org noreply at rubyforge.org
Wed Jan 24 09:29:03 EST 2007


Patches item #8113, was opened at 2007-01-24 09:29
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3151&aid=8113&group_id=797

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Aslak Hellesøy (aslak_hellesoy)
Assigned to: Aslak Hellesøy (aslak_hellesoy)
Summary: Better Watir exception for bad URLs

Initial Comment:
class Watir::Browser
  def kill!
    close
  end
  
  alias contain_text? contains_text

  alias old_goto goto
  def goto(url)
    begin
      old_goto(url)
    rescue => e
      e.message << "\nURL: #{url}"
      raise e
    end
  end
end


----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3151&aid=8113&group_id=797


More information about the rspec-devel mailing list