spec/support/html/wait_for_dom.html in watir-dom-wait-0.2.1 vs spec/support/html/wait_for_dom.html in watir-dom-wait-0.3.0
- old
+ new
@@ -12,10 +12,10 @@
div.appendChild(document.createElement("br"));
}, timeout);
setTimeout(function() {
clearInterval(timer);
- }, number * timeout);
+ }, number * timeout + 10);
}
function staleDiv(parent_id, child_id) {
var parent = document.getElementById(parent_id);
var child = document.getElementById(child_id);