Hooo-rahh!   You can't see it, but there are tears of joy in my eyes!

Thank you!  That line works perfectly in my scripts.  No more warnings.  I think that line should be added to the FAQ as well (Step 5 - last resort?).

Cheers!  Paul.


On 03/05/06, Bret Pettichord <[EMAIL PROTECTED]> wrote:
Paul,

Thanks for sharing your story. It's a good example for why it is really hard to include solutions in error messages.

I did not realize that these warnings were bothering you. It is easy to suppress them.

Watir uses a Logger object to do the logging. By default, it set to warn, and this is a warn message. You could provide your own, customized logger to Watir or change the settings on the default one in play.

Something like
  ie.logger.level = Logger::ERROR
might work.

For details, see http://www.ruby-doc.org/stdlib/libdoc/logger/rdoc/index.html

Let us know what works for you and we'll add it to the FAQ.

Bret

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to