GWT, Selenium WebDriver, and the dreaded StaleElementReferenceException

Automating GWT (Google Web Toolkit) applications with Selenium WebDriver can be challenging.  One hurdle is that as page events fire, GWT applications tend to drop existing DOM elements and replace them with new DOM elements that are identical, or very similar to, elements in the old DOM.  Consequently, even simple commands like driver.findElement(By.id(“someElementId”)).click() will fail […]

If you liked this post, say thanks by sharing it: