Is there any way to capture the current state of an element? I have some elements that start off in a default state, and once the page finishes loading JavaScript changes their state. I select the elements in Watir, but by the time my tests run the JavaScript has already run on the page. I would like to know the state (mostly the class, but some other things as well) of an element when it first appears, not at the moment the page runs. Is there a way to do this in Watir?
-- 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]
