[Wtr-general] Watir::Exception::NavigationException not being thrown
Paul Rogers
paul.rogers at shaw.ca
Wed Jun 6 11:33:22 EDT 2007
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" <forum-watir-users at openqa.org>
To: <wtr-general at 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 at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
>
More information about the Wtr-general
mailing list