On Tue, Apr 23, 2013 at 1:01 PM, LuisE <[email protected]> wrote:

> For example, I have a link with class="blue" and I click on it and his
> class changes to class="yellow how Can I check it? Can I ask about color or
> image in my html document?


Sure. Something like this should work:

browser.element.attribute_value("class")
# => "blue"

Željko

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to