On Wed, Feb 22, 2012 at 3:45 PM, Jamison Dance <[email protected]> wrote:
> Is there any way to capture the current state of an element?

Sure, try this:

browser.element.html

I think both watir and watir-webdriver gems support attribute_value, too:

http://rubydoc.info/gems/watir-webdriver/Watir/Element#attribute_value-instance_method
http://rubydoc.info/gems/watir/Watir/Element#attribute_value-instance_method

Željko
--
watir.com/book - author

-- 
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]

Reply via email to