DominikDary/selendroid — pull request #12 by lukeis (2013-03-28 17:08:59+00:00)
Title: should be throwing stale reference exception

So, I am able to locally build it now :) Thanks for the help there. (sorry about the last pull, i really thought i compiled that!!)

Although this code is a first step towards stale reference exceptions, it doesn't actually work... because the cache doesn't ever seem to get invalidated. Is it not valid to find an element, click on it (which loads a new view without that element on it anymore) and that element to get purged or invalidated in the cache? Maybe this way only works for WebElements.
Waiting for the element to become invisible is a work-around for this for me.

I'll try to look at the tests in the near future (and update them if I have broken anything with this change)