Hi, On 20/11/2008, Natasha Ranney <[EMAIL PROTECTED]> wrote: > Hi Tifanny, > > Thanks for sharing this link. > > One way to to get rid of the dirty console output is to completely redirect > it to a log file.
These methods will prevent console output: def puts_off Kernel.module_eval %q{ def puts(*args) end } end # restores Kernel#puts to its original definition def puts_on Kernel.module_eval %q{ def puts(*args) $stdout.puts(*args) end } end e.g. puts_off browser = Watir::Browser.new puts_on Aidy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---