Congratulations.
Pat.
From: Bret Pettichord <[EMAIL PROTECTED]>
Reply-To: <[email protected]>
Date: Thu, 29 Dec 2005 10:30:58 -0600
To: <[email protected]>
Subject: Re: [Wtr-general] Accessing div attributes
On 12/29/05, Pat Cappelaere <[EMAIL PROTECTED]> wrote:
For this example:
<div style="position: absolute; visibility: visible; top: 0pt; left: 0pt;" id="xxx">...</div>
Intuitively, I would have expected to get an element and be able to access the methods directly such as:
ie.div(:id, "xxx").style.visibility
And not as: ie.div(:id, "xxx").ole_element.style.visibility
I agree. Whenever you see references to the "ole_element" you are basically going beyond what Watir is directly supporting.
I've just committed a style method for div (and other elements).
Bret
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
