Skip to content
Snippets Groups Projects
Commit 5550627f authored by anttil's avatar anttil
Browse files

SWE-2 / SP-314 : Fix stale reference problem

SVN: 26975
parent 4e2fbc08
No related branches found
No related tags found
No related merge requests found
...@@ -64,7 +64,8 @@ public class PageProxy ...@@ -64,7 +64,8 @@ public class PageProxy
{ {
if (e.getTargetException() instanceof StaleElementReferenceException) if (e.getTargetException() instanceof StaleElementReferenceException)
{ {
System.out.println("STALE REFERENCE - RELOADING " + self); System.out.println("STALE REFERENCE - RELOADING "
+ self.getClass().getSimpleName());
init(clazz, (T) self); init(clazz, (T) self);
return proceed.invoke(self, args); return proceed.invoke(self, args);
} else } else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment