Hey Jarmo,
In the latest wair-classic the element.style() method works as follows
# return the css style as a string
def style
assert_exists
ole_object.style.cssText
end
but it still doesn't behave like the webdriver version (which takes a
property argument).
def style(property = nil)
if property
assert_exists
@element.style property
else
attribute_value("style").to_s.strip
end
end
It would be really useful if the watir-classic behaviour matched the web
driver version. Are there any plans to update this in the future or is
there a specfic reason they are different?
Thanks for everything,
Connor
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development