this was removed from 1.5 because for a few people it was annoying.

doing this may fix it

require 'watir/contrib/page_checker'

ie = Watir::IE.start( 'www.page.com')
  ie.add_checker(PageCheckers::NAVIGATION_CHECKER)

Paul

----- Original Message ----- 
From: "Titani" <[EMAIL PROTECTED]>
To: <wtr-general@rubyforge.org>
Sent: Wednesday, June 06, 2007 8:52 AM
Subject: [Wtr-general] Watir::Exception::NavigationException not being 
thrown


> Hi,
>
> I am fairly new to Watir.  I had been working with Watir 1.4.1 and I just 
> installed the latest Watir 1.5 gem.
>
> When I had Watir 1.4.1 installed, I was able to catch the 
> Watir::Exception::NavigationException
> when I tried to goto a webpage that did not exist.  It seems that 1.5 is 
> not throwing this exception.
>
> Does anyone have any suggestions on how I can detect a http error with 
> 1.5.
>
> Thanks
> _______________________________________________
> Wtr-general mailing list
> Wtr-general@rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
> 


_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to