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

Reply via email to