title: Do the JavaScript bindings for Selenium have a staleness indicator?
body: <p>I'm using JavaScript bindings for Selenium to automate a web application and I came across this exception </p>
  
  <blockquote>
    <p>StaleElementReferenceError: Element not found in the cache - perhaps
    the page has changed since it was looked up</p>
    
    <p>For documentation on this error, please visit:
    <a href="http://seleniumhq.org/exceptions/stale_element_reference.html" rel="nofollow">http://seleniumhq.org/exceptions/stale_element_reference.html</a></p>
  </blockquote>
  
  <p>In Java I have used the <code>webDriver.until(ExpectedConditions.stalenessOf(element));</code>, is there any such method in JavaScript?</p>