[Wtr-general] Another Try...

Adam Reed areed at relocationcentral.com
Thu Jul 12 14:57:32 EDT 2007


By including Watir, you no longer need to use the "Watir" in ie =
Watir::IE.new -- it's nice for cleaning up code later.  If you change
the code to:

require 'watir' 
include Watir

ie = IE.new

It should also work.

-----Original Message-----
From: wtr-general-bounces at rubyforge.org
[mailto:wtr-general-bounces at rubyforge.org] On Behalf Of Lennart Borgman
(gmail)
Sent: Thursday, July 12, 2007 1:56 PM
To: wtr-general at rubyforge.org
Subject: Re: [Wtr-general] Another Try...

Lonny Eachus wrote:
> I have to try one more time. So far I have not figured out the
problem.
> 
> Recently, I installed Visual Studio .NET, which I needed to debug some

> .NET issues. After I did that (the timing seems to be right), Watir 
> has not worked within irb.
> 
> When I do this:
> 
>     require 'watir'
>     include 'Watir'
> 
>     ie = IE.new

I know hardly nothing about this, I do not have .NET installed here, but
I can do

   irb> require 'watir'
   irb> ie = Watir::IE.new()
_______________________________________________
Wtr-general mailing list
Wtr-general at rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


More information about the Wtr-general mailing list