it's className on the dom. I think this is exposed as #class_name in watir,
or you can do element.ole_object.className

On Fri, Feb 11, 2011 at 11:15, Alastair Montgomery <doodl...@gmail.com>wrote:

> I've used something like this in another case
>
> browser.ul(:class,"ws-context-menu").lis.each {|li| menuClass <<
> li.attribute_value("class")}
>
> --
> 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

Reply via email to