[Wtr-general] changing watir versions
Jeff Fry
jfry at lyris.com
Tue Apr 11 03:10:15 EDT 2006
Hey, y'all.
I'm trying to use a feature that is in v1.4.1 but not in v1.1, and find
that even though I've installed 1.4.1, when I require 'watir' what I get
is v1.1:
irb(main):001:0> require 'watir'
=> true
irb(main):002:0> Watir::IE::VERSION
=> "1.1"
Details:
I installed watir v1.1 when it first came out.
Over time, I installed several other versions of watir, up to and
including 1.4.1, each in it's own directory.
I just tried using ie.url in a script, and see it's not found.
Investigating, I realize that I'm still using watir v1.1.
I checked my PATH and my registry, but didn't see a reference to watir
in either spot. (perhaps I missed something in the registry?)
I ran the uninstaller, from the Start menu, but it uninstalled v1.4.1.
I then went ahead and deleted every copy of watir I could find on my
box...somehow I'm missing the one version that my computer keeps
finding...v1.1 still mocks me. ;0(
So...how does my machine find watir? How does it choose between multiple
installs? Can I tell it explicitly in a script to use a particular
version? And how can I find the version of v1.1 that my machine keeps
finding and blow it away for good?
In eager anticipation of using v1.4.1,
Jeff
More information about the Wtr-general
mailing list