[wtr-general] DOM Object's offsetHeight

2012-04-12 Thread Abe Heward
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

Re: [wtr-general] DOM Object's offsetHeight

2012-04-12 Thread bis
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

Re: [wtr-general] DOM Object's offsetHeight

2012-04-12 Thread Abe Heward
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