Hey guys,
I'm using watir-webdriver (0.3.3) and Test::Unit.
In my code I'm trying to validate that an object is NOT present on the page...
assert_equal(false, @browser.button(:id=>"post").exist?)
...However, instead of getting the "false" result for the .exist?, apparently it's throwing this selenium error:
Selenium::WebDriver::Error::ObsoleteElementError: Element not found in the cache
I suppose I can validate the non-existence of page elements in some other way, but shouldn't I just get a "false" returned for that .exist? method?