Creating the "ie" instance works fine. It fails when I try to reference the link inside the div tag.
I peeked in the code for "getLink" and it fails at the lines :
def getLink( how, what )
links = document.all.tags("A")
Apparently, the document object is nil. Accessing the link from the "ie" instance also calls "getLink" but in that case the document object isn't nil. It's only nil when I access the "link" collection of the div object. I'm not quite sure what's going on here ...
Kwan
Date: Tue, 13 Jun 2006 17:51:46 -0500
From: [EMAIL PROTECTED]
To: [email protected]
Subject: Re: [Wtr-general] Trouble with links in a div
On 6/13/06, kwan l <[EMAIL PROTECTED]> wrote:ie = Watir::IE.start("C:\\testwatir.html")
Votre nouvelle utilisation de la messagerie : Windows Live Messenger Beta
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
