YES! That works. Thanks. On Thursday, April 12, 2012 8:58:48 AM UTC-7, Oscar.Rieken wrote: > > 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 <abe.hew...@gmail.com> 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. > > watir-general@googlegroups.com > http://groups.google.com/group/watir-general > watir-general+unsubscr...@googlegroups.com > >
-- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com