README.md in watir-dom-wait-0.1.3 vs README.md in watir-dom-wait-0.2.0
- old
+ new
@@ -76,12 +76,12 @@
Watir::Dom::Wait.interval = 0.15
```
## How it works
-By attaching `DOMSubtreeModified` event to element. It's supported in all major browsers (except Presto-powered Opera).
+Using [MutationObserver](https://developer.mozilla.org/en/docs/Web/API/MutationObserver).
-Note, that it also rescues `Selenium::WebDriver::Error::StaleElementReferenceError` and `Selenium::WebDriver::Error::JavascriptError` when waits for DOM.
+Note, that it also rescues `Selenium::WebDriver::Error::StaleElementReferenceError`, `Selenium::WebDriver::Error::JavascriptError` and `Watir::Exception::UnknownObjectException` (only when its message contains `Element not found in the cache - perhaps the page has changed since it was looked up`) when waits for DOM.
## Contributors
* [Alex Rodionov](https://github.com/p0deje)
* [Sasha Koss](https://github.com/kossnocorp)