-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StaleElementReferenceException
emanating from Shutterbug.shootElement
#87
Comments
Hi @roboaks , Have you got a reproducible example? |
Unfortunately, no. The issue only seems to occur in one development environment so far--though it appears consistently. In my experience, because Can you tell which element is becoming stale and is it possible to add a retry loop (e.g. see this post)? |
Try 1.3-SNAPSHOT version and use Shutterbug.shootElement(WebDriver driver, By element, CaptureElement capture) method passing By locator which will dynamically find the element, hopefully fixing StaleElementReferenceException |
I am using the |
You need to add snapshots repo url to make it resolve. Something like below
|
That worked. I have updated our Selenium fixture accordingly and am waiting for feedback from the developer. Glib, thank you so much for the quick response. |
According to the developer that seems to have fixed the problem! Thanks so much for the quick turnaround. Will you be posting a new release to jcenter? |
Hi Rob, |
Released under v1.3. Will be available after a little while |
We are using shutterbug v1.2 to take full page screen shots of a scrollable
div
(using the feature we collaborated on a few months back).Here is the full stack trace:
The text was updated successfully, but these errors were encountered: