Title: Re: [Wtr-general] Accessing div attributes
Brett,

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
 
This would be easier on the user. Can mixins be used to allow for this?
Thanks a lot.

Pat.



From: Bret Pettichord <[EMAIL PROTECTED]>
Reply-To: <[email protected]>
Date: Wed, 28 Dec 2005 21:34:28 -0600
To: <[email protected]>
Subject: Re: [Wtr-general] Accessing div attributes

It was called ole_object in 1.4.1, and has been renamed in 1.5 to ole_element.

On 12/28/05, Pat Cappelaere <[EMAIL PROTECTED]  <mailto:[EMAIL PROTECTED]> > wrote:
This would be doable but ole_element is an undefined method in watir 1.4.1
I will try against the head version.
Thanks again.
Pat.



_______________________________________________
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

Reply via email to