I think you can do .attribute_value("the attribute you want returned")

Sent from my iPhone

On Apr 12, 2012, at 9:52 AM, Abe Heward <[email protected]> wrote:

> Is there way to use watir-webdriver to get the "offsetHeight" value of a DOM 
> object?
> 
> I've got a set of elements that will become mis-positioned on the page if one 
> of them contains a string of text that's too long, but there's no way to know 
> this has happened by simply inspecting the html. The DOM object's 
> offsetHeight, so far, seems the only thing that will give this problem away 
> (when you're not a human, that is).
> -- 
> Before posting, please read http://watir.com/support. In short: search before 
> you ask, be nice.
>  
> [email protected]
> http://groups.google.com/group/watir-general
> [email protected]

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to