I'm consistently getting ObsoleteElementErrors thrown when using a regex to 
select by class name, ie:

@browser.div(:class, /.*myClass.*/)

The first call to this works fine, but subsequent calls throw the 
ObsoleteElementError.  In this case my element has multiple classes and 
simply doing

@browser.div(:class, "myClass")

does not work, however

@browser.div(:class, "myClass otherClass")

does.  I cannot guarantee that "otherClass" will always be on the element 
in question.

Any ideas on how to get around this?

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