On Wed, Oct 7, 2009 at 2:51 PM, kat <[email protected]> wrote:
> how is it possible to get the span style "somestyle" in Watir?
Looks like `style` is reserved for something else:
b.span(:text, "sometext").attribute_value("style")
=> #<WIN32OLE:0x323fe44>
b.span(:text, "sometext").style
=> #<WIN32OLE:0x3239cd8>
Even html does not return it:
b.span(:text, "sometext").html
=> "<SPAN class=someclass>sometext</SPAN>"
Željko
--
http://watirpodcast.com/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines:
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---